SecurityIdentifier.ToString Method

Definition

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.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

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

Applies to