IsWellKnownSid() static private method

static private IsWellKnownSid ( System.Security.Principal.SecurityIdentifier sid, WellKnownSidType type ) : bool
sid System.Security.Principal.SecurityIdentifier
type WellKnownSidType
return bool
Beispiel #1
0
        //
        // Determines whether this SID is a well-known SID of the specified type
        //
        // NOTE: although there is a P/Invoke call involved in the implementation of this method,
        //       there is no security risk involved, so no security demand is being made.
        //


        public bool IsWellKnown(WellKnownSidType type)
        {
            return(Win32.IsWellKnownSid(this, type));
        }