TestimoX

API Reference

Class

SidHelper

Namespace ADPlayground.Identity
Assembly ADPlayground
Modifiers static

Provides helper methods for working with SecurityIdentifier values.

Inheritance

  • Object
  • SidHelper

Methods

public static Boolean TryGetRid(SecurityIdentifier sid, out Int32 rid) #
Returns: Boolean

Attempts to extract the relative identifier (RID) from the specified SID.

Parameters

sid System.Security.Principal.SecurityIdentifier requiredposition: 0
Source SecurityIdentifier.
rid System.Int32@ requiredposition: 1
When this method returns, contains the RID if parsing succeeded.

Returns

true when the RID could be extracted; otherwise false.