2 types derived from AuthenticablePrincipal
System.DirectoryServices.AccountManagement (2)
System\DirectoryServices\AccountManagement\Computer.cs (1)
11public class ComputerPrincipal : AuthenticablePrincipal
System\DirectoryServices\AccountManagement\User.cs (1)
12public class UserPrincipal : AuthenticablePrincipal
1 instantiation of AuthenticablePrincipal
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\AuthenticablePrincipal.cs (1)
354AuthenticablePrincipal ap = new AuthenticablePrincipal(ctx);
84 references to AuthenticablePrincipal
System.DirectoryServices.AccountManagement (84)
System\DirectoryServices\AccountManagement\AccountInfo.cs (2)
276internal AccountInfo(AuthenticablePrincipal principal) 284private readonly AuthenticablePrincipal _owningPrincipal;
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (6)
62protected override void SetAuthPrincipalEnableStatus(AuthenticablePrincipal ap, bool enable) 182private void SetupPasswordModification(AuthenticablePrincipal p) 211internal override void SetPassword(AuthenticablePrincipal p, string newPassword) 232internal override void ChangePassword(AuthenticablePrincipal p, string oldPassword, string newPassword) 317if (principalType == typeof(AuthenticablePrincipal) || principalType == typeof(Principal)) 363internal override void InitializeUserAccountControl(AuthenticablePrincipal p)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (16)
267TypeToLdapDict.Add(typeof(AuthenticablePrincipal), authPrincipalPropList); 466Debug.Assert(p is AuthenticablePrincipal); 470SetAuthPrincipalEnableStatus((AuthenticablePrincipal)p, enable); 480Debug.Assert(p is AuthenticablePrincipal); 482SetCannotChangePasswordStatus((AuthenticablePrincipal)p, (bool)p.GetValueForProperty(PropertyNames.PwdInfoCannotChangePassword), true); 488Debug.Assert(ap is AuthenticablePrincipal); 602protected virtual void SetAuthPrincipalEnableStatus(AuthenticablePrincipal ap, bool enable) 792internal override void InitializeUserAccountControl(AuthenticablePrincipal p) 821internal override bool IsLockedOut(AuthenticablePrincipal p) 883internal override void UnlockAccount(AuthenticablePrincipal p) 898internal override void SetPassword(AuthenticablePrincipal p, string newPassword) 917internal override void ChangePassword(AuthenticablePrincipal p, string oldPassword, string newPassword) 943internal override void ExpirePassword(AuthenticablePrincipal p) 956internal override void UnexpirePassword(AuthenticablePrincipal p) 2158internal override bool SupportsAccounts(AuthenticablePrincipal p) 2172internal override CredentialTypes SupportedCredTypes(AuthenticablePrincipal p)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (5)
170if (principalType.IsSubclassOf(typeof(AuthenticablePrincipal))) 172InitializeUserAccountControl((AuthenticablePrincipal)p); 484if (principalType == typeof(Principal) || principalType == typeof(AuthenticablePrincipal)) 492BuildPropertySet(typeof(AuthenticablePrincipal), ds.PropertiesToLoad); 1534(!memberType.IsSubclassOf(typeof(AuthenticablePrincipal))))
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_Query.cs (3)
69else if (p.IsSubclassOf(typeof(AuthenticablePrincipal))) 71baseType = typeof(AuthenticablePrincipal); 199else if (principalType == typeof(AuthenticablePrincipal))
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (9)
44typeof(AuthenticablePrincipal) == principalType || 61p = AuthenticablePrincipal.MakeAuthenticablePrincipal(owningContext); 102typeof(AuthenticablePrincipal) == principalType || 119p = AuthenticablePrincipal.MakeAuthenticablePrincipal(owningContext); 213(!(p is AuthenticablePrincipal)) && 240Debug.Assert(p is AuthenticablePrincipal); 245storeCtx.SetPassword((AuthenticablePrincipal)p, password); 251Debug.Assert(p is AuthenticablePrincipal); 259storeCtx.ExpirePassword((AuthenticablePrincipal)p);
System\DirectoryServices\AccountManagement\AuthenticablePrincipal.cs (14)
264public static PrincipalSearchResult<AuthenticablePrincipal> FindByLockoutTime(PrincipalContext context, DateTime time, MatchType type) 266return FindByLockoutTime<AuthenticablePrincipal>(context, time, type); 269public static PrincipalSearchResult<AuthenticablePrincipal> FindByLogonTime(PrincipalContext context, DateTime time, MatchType type) 271return FindByLogonTime<AuthenticablePrincipal>(context, time, type); 274public static PrincipalSearchResult<AuthenticablePrincipal> FindByExpirationTime(PrincipalContext context, DateTime time, MatchType type) 276return FindByExpirationTime<AuthenticablePrincipal>(context, time, type); 279public static PrincipalSearchResult<AuthenticablePrincipal> FindByBadPasswordAttempt(PrincipalContext context, DateTime time, MatchType type) 281return FindByBadPasswordAttempt<AuthenticablePrincipal>(context, time, type); 284public static PrincipalSearchResult<AuthenticablePrincipal> FindByPasswordSetTime(PrincipalContext context, DateTime time, MatchType type) 286return FindByPasswordSetTime<AuthenticablePrincipal>(context, time, type); 352internal static AuthenticablePrincipal MakeAuthenticablePrincipal(PrincipalContext ctx) 354AuthenticablePrincipal ap = new AuthenticablePrincipal(ctx); 362if ((subtype != typeof(AuthenticablePrincipal)) && 363(!subtype.IsSubclassOf(typeof(AuthenticablePrincipal))))
System\DirectoryServices\AccountManagement\Context.cs (2)
1235else if (t == typeof(System.DirectoryServices.AccountManagement.AuthenticablePrincipal) || t.IsSubclassOf(typeof(System.DirectoryServices.AccountManagement.AuthenticablePrincipal)))
System\DirectoryServices\AccountManagement\PasswordInfo.cs (2)
204internal PasswordInfo(AuthenticablePrincipal principal) 212private readonly AuthenticablePrincipal _owningPrincipal;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (10)
366internal override void InitializeUserAccountControl(AuthenticablePrincipal p) 383internal override bool IsLockedOut(AuthenticablePrincipal p) 407internal override void UnlockAccount(AuthenticablePrincipal p) 451internal override void SetPassword(AuthenticablePrincipal p, string newPassword) 476internal override void ChangePassword(AuthenticablePrincipal p, string oldPassword, string newPassword) 502internal override void ExpirePassword(AuthenticablePrincipal p) 516internal override void UnexpirePassword(AuthenticablePrincipal p) 530private void WriteAttribute(AuthenticablePrincipal p, string attribute, int value) 880internal override bool SupportsAccounts(AuthenticablePrincipal p) 894internal override CredentialTypes SupportedCredTypes(AuthenticablePrincipal p)
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (4)
77if (principalType.IsSubclassOf(typeof(AuthenticablePrincipal))) 79InitializeUserAccountControl((AuthenticablePrincipal)p); 140Debug.Assert(p is AuthenticablePrincipal); 607else if ((principalType == typeof(AuthenticablePrincipal)) &&
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_Query.cs (1)
132else if (principalType == typeof(AuthenticablePrincipal))
System\DirectoryServices\AccountManagement\StoreCtx.cs (10)
110internal abstract void InitializeUserAccountControl(AuthenticablePrincipal p); 111internal abstract bool IsLockedOut(AuthenticablePrincipal p); 112internal abstract void UnlockAccount(AuthenticablePrincipal p); 115internal abstract void SetPassword(AuthenticablePrincipal p, string newPassword); 116internal abstract void ChangePassword(AuthenticablePrincipal p, string oldPassword, string newPassword); 117internal abstract void ExpirePassword(AuthenticablePrincipal p); 118internal abstract void UnexpirePassword(AuthenticablePrincipal p); 221internal abstract bool SupportsAccounts(AuthenticablePrincipal p); 227internal abstract CredentialTypes SupportedCredTypes(AuthenticablePrincipal p); 328if (p is AuthenticablePrincipal)