58 if (
role ==
null ||
role.Length == 0)
static SafeAccessTokenHandle InvalidHandle
void Add(TKey key, TValue value)
static string Arg_EnumIllegalVal
static string Format(string resourceFormat, object p1)
virtual IEnumerable< ClaimsIdentity > Identities
override IdentityReference Translate(Type targetType)
SafeAccessTokenHandle AccessToken
static WindowsIdentity GetCurrent()
TokenImpersonationLevel ImpersonationLevel
readonly WindowsIdentity _identity
virtual bool IsInRole(int rid)
virtual bool IsInRole(WindowsBuiltInRole role)
override bool IsInRole(string role)
virtual bool IsInRole(SecurityIdentifier sid)
WindowsPrincipal(WindowsIdentity ntIdentity)
override IIdentity Identity
static IPrincipal GetDefaultInstance()
virtual IEnumerable< Claim > UserClaims
virtual IEnumerable< Claim > DeviceClaims
static readonly IntPtr Zero