API Reference
Class
SidHelper
Provides helper methods for working with SecurityIdentifier values.
Inheritance
- Object
- SidHelper
Methods
public static Boolean TryGetRid(SecurityIdentifier sid, out Int32 rid) #Returns:
BooleanAttempts to extract the relative identifier (RID) from the specified SID.
Parameters
- sid System.Security.Principal.SecurityIdentifier
- Source SecurityIdentifier.
- rid System.Int32@
- When this method returns, contains the RID if parsing succeeded.
Returns
true when the RID could be extracted; otherwise false.