SecurityIdentifier.IsAccountSid Method

Definition

Returns a value that indicates whether the security identifier (SID) represented by this SecurityIdentifier object is a valid Windows account SID.

public:
 bool IsAccountSid();
public bool IsAccountSid ();
member this.IsAccountSid : unit -> bool
Public Function IsAccountSid () As Boolean

Returns

true if the SID represented by this SecurityIdentifier object is a valid Windows account SID; otherwise, false.

Applies to