SecurityIdentifier.ToString Method ()

 

Returns the security identifier (SID), in Security Descriptor Definition Language (SDDL) format, for the account represented by the SecurityIdentifier object. An example of the SDDL format is S-1-5-9.

Namespace:   System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

override ToString : unit -> string

Return Value

Type: System.String

The SID, in SDDL format, for the account represented by the SecurityIdentifier object.

.NET Framework
Available since 2.0
Return to top
Show: