Bewerken

Delen via


ActiveDirectoryRole.GetSecurityIdentifiers Method

Definition

Returns a generic list of SecurityIdentifier objects associated with the current ActiveDirectoryRole.

public:
 System::Collections::Generic::IList<System::Security::Principal::SecurityIdentifier ^> ^ GetSecurityIdentifiers();
public System.Collections.Generic.IList<System.Security.Principal.SecurityIdentifier> GetSecurityIdentifiers ();
member this.GetSecurityIdentifiers : unit -> System.Collections.Generic.IList<System.Security.Principal.SecurityIdentifier>
Public Function GetSecurityIdentifiers () As IList(Of SecurityIdentifier)

Returns

A generic list of SecurityIdentifier objects associated with the current ActiveDirectoryRole.

Remarks

GetSecurityIdentifiers checks each DirectoryEntry returned by the GetEntries method to see if the entry has a security identifier in its Properties collection. If the DirectoryEntry has such a property, GetSecurityIdentifiers adds a SecurityIdentifier to the list it returns.

Applies to