Class SecurityIdentifierExt
The class extend the security identifier to generate a custom sid based on a Guid. It is useful if you need to use Azman with a custom sid.
public static class SecurityIdentifierExt
- Inheritance
-
SecurityIdentifierExt
- Inherited Members
Methods
S19()
Generate a S-1-9 SecurityIdentifier based on a random Guid.
public static string S19()
Returns
- string
A S-1-9 SecurityIdentifier
S19(Guid)
Generate a S-1-9 string SecurityIdentifier based on a given Guid.
public static string S19(Guid guid)
Parameters
guidGuidA specific Guid generating a constant SecurityIdentifier
Returns
- string
A S-1-9 SecurityIdentifier in a string format.
ToS19(Guid)
Generates a S-1-9 security identifier, as a string, from this Guid. The same Guid always gives the same identifier.
public static string ToS19(this Guid guid)
Parameters
Returns
- string
A S-1-9 security identifier in a string format.