Table of Contents

Class SecurityIdentifierExt

Namespace
Arc4u.Security.Principal
Assembly
Arc4u.dll

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

guid Guid

A 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

guid Guid

The Guid from which the identifier is generated.

Returns

string

A S-1-9 security identifier in a string format.