Silverlight 5 | WinRT |
public class GenericIdentity | |
: ClaimsIdentity, IIdentity, ISerializable | |
public virtual String AuthenticationType { get; } | |
public virtual Boolean IsAuthenticated { get; } | |
public virtual String Name { get; } |
public class GenericPrincipal | |
: ClaimsPrincipal, IPrincipal, ISerializable | |
public virtual IIdentity Identity { get; } | |
public virtual Boolean IsInRole(String role); |
public sealed class IdentityNotMappedException | |
: SystemException, ISerializable, _Exception | |
public IdentityReferenceCollection UnmappedIdentities { get; } | |
public virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); |
public abstract class IdentityReference | |
public abstract virtual String Value { get; } | |
public abstract virtual Boolean Equals(Object o); | |
public abstract virtual Int32 GetHashCode(); | |
public abstract virtual Boolean IsValidTargetType(Type targetType); | |
static public Boolean op_Equality(IdentityReference left, IdentityReference right); | |
static public Boolean op_Inequality(IdentityReference left, IdentityReference right); | |
public abstract virtual String ToString(); | |
public abstract virtual IdentityReference Translate(Type targetType); |
public class IdentityReferenceCollection | |
: ICollection`1<IdentityReference>, IEnumerable`1<IdentityReference>, IEnumerable | |
public virtual Int32 Count { get; } | |
public virtual Boolean IsReadOnly { get; } | |
public IdentityReference Item { get; set; } | |
public virtual void Add(IdentityReference identity); | |
public virtual void Clear(); | |
public virtual Boolean Contains(IdentityReference identity); | |
public virtual void CopyTo(IdentityReference array, Int32 offset); | |
public virtual IEnumerator`1<IdentityReference> GetEnumerator(); | |
public virtual Boolean Remove(IdentityReference identity); | |
public IdentityReferenceCollection Translate(Type targetType); | |
public IdentityReferenceCollection Translate(Type targetType, Boolean forceSuccess); |
public abstract interface IIdentity | public abstract interface IIdentity |
public abstract virtual String AuthenticationType { get; } | public abstract virtual String AuthenticationType { get; } |
public abstract virtual Boolean IsAuthenticated { get; } | public abstract virtual Boolean IsAuthenticated { get; } |
public abstract virtual String Name { get; } | public abstract virtual String Name { get; } |
public abstract interface IPrincipal | public abstract interface IPrincipal |
public abstract virtual IIdentity Identity { get; } | public abstract virtual IIdentity Identity { get; } |
public abstract virtual Boolean IsInRole(String role); | public abstract virtual Boolean IsInRole(String role); |
public sealed class NTAccount | |
: IdentityReference | |
public virtual String Value { get; } | |
public virtual Boolean Equals(Object o); | |
public virtual Int32 GetHashCode(); | |
public virtual Boolean IsValidTargetType(Type targetType); | |
static public Boolean op_Equality(NTAccount left, NTAccount right); | |
static public Boolean op_Inequality(NTAccount left, NTAccount right); | |
public virtual String ToString(); | |
public virtual IdentityReference Translate(Type targetType); |
public sealed enum PrincipalPolicy | |
: IComparable, IFormattable, IConvertible | |
{ UnauthenticatedPrincipal, NoPrincipal, WindowsPrincipal } |
public sealed class SecurityIdentifier | |
: IdentityReference, IComparable`1<SecurityIdentifier> | |
public SecurityIdentifier AccountDomainSid { get; } | |
public Int32 BinaryLength { get; } | |
public virtual String Value { get; } | |
public virtual Int32 CompareTo(SecurityIdentifier sid); | |
public virtual Boolean Equals(Object o); | |
public Boolean Equals(SecurityIdentifier sid); | |
public void GetBinaryForm(Byte binaryForm, Int32 offset); | |
public virtual Int32 GetHashCode(); | |
public Boolean IsAccountSid(); | |
public Boolean IsEqualDomainSid(SecurityIdentifier sid); | |
public virtual Boolean IsValidTargetType(Type targetType); | |
public Boolean IsWellKnown(WellKnownSidType type); | |
static public Boolean op_Equality(SecurityIdentifier left, SecurityIdentifier right); | |
static public Boolean op_Inequality(SecurityIdentifier left, SecurityIdentifier right); | |
public virtual String ToString(); | |
public virtual IdentityReference Translate(Type targetType); |
public sealed enum TokenAccessLevels | |
: IComparable, IFormattable, IConvertible | |
{ AssignPrimary, Duplicate, Impersonate, Query, QuerySource, AdjustPrivileges, AdjustGroups, AdjustDefault, AdjustSessionId, Read, Write, AllAccess, MaximumAllowed } |
public sealed enum TokenImpersonationLevel | |
: IComparable, IFormattable, IConvertible | |
{ None, Anonymous, Identification, Impersonation, Delegation } |
public sealed enum WellKnownSidType | |
: IComparable, IFormattable, IConvertible | |
{ NullSid, WorldSid, LocalSid, CreatorOwnerSid, CreatorGroupSid, CreatorOwnerServerSid, CreatorGroupServerSid, NTAuthoritySid, DialupSid, NetworkSid, BatchSid, InteractiveSid, ServiceSid, AnonymousSid, ProxySid, EnterpriseControllersSid, SelfSid, AuthenticatedUserSid, RestrictedCodeSid, TerminalServerSid, RemoteLogonIdSid, LogonIdsSid, LocalSystemSid, LocalServiceSid, NetworkServiceSid, BuiltinDomainSid, BuiltinAdministratorsSid, BuiltinUsersSid, BuiltinGuestsSid, BuiltinPowerUsersSid, BuiltinAccountOperatorsSid, BuiltinSystemOperatorsSid, BuiltinPrintOperatorsSid, BuiltinBackupOperatorsSid, BuiltinReplicatorSid, BuiltinPreWindows2000CompatibleAccessSid, BuiltinRemoteDesktopUsersSid, BuiltinNetworkConfigurationOperatorsSid, AccountAdministratorSid, AccountGuestSid, AccountKrbtgtSid, AccountDomainAdminsSid, AccountDomainUsersSid, AccountDomainGuestsSid, AccountComputersSid, AccountControllersSid, AccountCertAdminsSid, AccountSchemaAdminsSid, AccountEnterpriseAdminsSid, AccountPolicyAdminsSid, AccountRasAndIasServersSid, NtlmAuthenticationSid, DigestAuthenticationSid, SChannelAuthenticationSid, ThisOrganizationSid, OtherOrganizationSid, BuiltinIncomingForestTrustBuildersSid, BuiltinPerformanceMonitoringUsersSid, BuiltinPerformanceLoggingUsersSid, BuiltinAuthorizationAccessSid, WinBuiltinTerminalServerLicenseServersSid, MaxDefined } |
public sealed enum WindowsAccountType | |
: IComparable, IFormattable, IConvertible | |
{ Normal, Guest, System, Anonymous } |
public sealed enum WindowsBuiltInRole | |
: IComparable, IFormattable, IConvertible | |
{ Administrator, User, Guest, PowerUser, AccountOperator, SystemOperator, PrintOperator, BackupOperator, Replicator } |
public class WindowsIdentity | |
: ClaimsIdentity, IIdentity, ISerializable, IDeserializationCallback, IDisposable | |
public virtual String AuthenticationType { get; } | |
public virtual IEnumerable`1<Claim> Claims { get; } | |
public virtual IEnumerable`1<Claim> DeviceClaims { get; } | |
public IdentityReferenceCollection Groups { get; } | |
public TokenImpersonationLevel ImpersonationLevel { get; } | |
public virtual Boolean IsAnonymous { get; } | |
public virtual Boolean IsAuthenticated { get; } | |
public virtual Boolean IsGuest { get; } | |
public virtual Boolean IsSystem { get; } | |
public virtual String Name { get; } | |
public SecurityIdentifier Owner { get; } | |
public virtual IntPtr Token { get; } | |
public SecurityIdentifier User { get; } | |
public virtual IEnumerable`1<Claim> UserClaims { get; } | |
protected virtual void Dispose(Boolean disposing); | |
public virtual void Dispose(); | |
public virtual IEnumerable`1<Claim> FindAll(Predicate`1<Claim> match); | |
public virtual IEnumerable`1<Claim> FindAll(String type); | |
public virtual Claim FindFirst(Predicate`1<Claim> match); | |
public virtual Claim FindFirst(String type); | |
static public WindowsIdentity GetAnonymous(); | |
static public WindowsIdentity GetCurrent(); | |
static public WindowsIdentity GetCurrent(Boolean ifImpersonating); | |
static public WindowsIdentity GetCurrent(TokenAccessLevels desiredAccess); | |
public virtual Boolean HasClaim(Predicate`1<Claim> match); | |
public virtual Boolean HasClaim(String type, String value); | |
public virtual WindowsImpersonationContext Impersonate(); | |
static public WindowsImpersonationContext Impersonate(IntPtr userToken); |
public class WindowsImpersonationContext | |
: IDisposable | |
protected virtual void Dispose(Boolean disposing); | |
public virtual void Dispose(); | |
public void Undo(); |
public class WindowsPrincipal | |
: ClaimsPrincipal, IPrincipal, ISerializable | |
public virtual IEnumerable`1<Claim> DeviceClaims { get; } | |
public virtual IIdentity Identity { get; } | |
public virtual IEnumerable`1<Claim> UserClaims { get; } | |
public virtual Boolean IsInRole(String role); | |
public virtual Boolean IsInRole(WindowsBuiltInRole role); | |
public virtual Boolean IsInRole(Int32 rid); | |
public virtual Boolean IsInRole(SecurityIdentifier sid); |