ActiveDirectoryRole.GetSecurityIdentifiers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET