AuthenticablePrincipal.FindByBadPasswordAttempt 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FindByBadPasswordAttempt(PrincipalContext, DateTime, MatchType) |
返回身份验证主体对象的集合,这些对象具有在指定日期和时间范围内进行不正确密码尝试的记录。 |
FindByBadPasswordAttempt<T>(PrincipalContext, DateTime, MatchType) |
返回一个对象 PrincipalSearchResult<T> 集合,对象在指定的日期和时间范围内有一次错误密码尝试。 这是想要实现此功能的扩展类的模板函数。 |
FindByBadPasswordAttempt(PrincipalContext, DateTime, MatchType)
- Source:
- AuthenticablePrincipal.cs
- Source:
- AuthenticablePrincipal.cs
- Source:
- AuthenticablePrincipal.cs
返回身份验证主体对象的集合,这些对象具有在指定日期和时间范围内进行不正确密码尝试的记录。
public:
static System::DirectoryServices::AccountManagement::PrincipalSearchResult<System::DirectoryServices::AccountManagement::AuthenticablePrincipal ^> ^ FindByBadPasswordAttempt(System::DirectoryServices::AccountManagement::PrincipalContext ^ context, DateTime time, System::DirectoryServices::AccountManagement::MatchType type);
public static System.DirectoryServices.AccountManagement.PrincipalSearchResult<System.DirectoryServices.AccountManagement.AuthenticablePrincipal> FindByBadPasswordAttempt (System.DirectoryServices.AccountManagement.PrincipalContext context, DateTime time, System.DirectoryServices.AccountManagement.MatchType type);
static member FindByBadPasswordAttempt : System.DirectoryServices.AccountManagement.PrincipalContext * DateTime * System.DirectoryServices.AccountManagement.MatchType -> System.DirectoryServices.AccountManagement.PrincipalSearchResult<System.DirectoryServices.AccountManagement.AuthenticablePrincipal>
Public Shared Function FindByBadPasswordAttempt (context As PrincipalContext, time As DateTime, type As MatchType) As PrincipalSearchResult(Of AuthenticablePrincipal)
参数
- context
- PrincipalContext
PrincipalContext 对象,用于指定要对其执行操作的服务器或域。
返回
一个 PrincipalSearchResult<T>,其包含一个或多个 AuthenticablePrincipal 对象的;如果未找到任何结果,则为空集合。
注解
时间默认为 UTC。 如果要以本地时间指定时间,请将 对象的 属性time
指定Kind为 Local。
适用于
FindByBadPasswordAttempt<T>(PrincipalContext, DateTime, MatchType)
- Source:
- AuthenticablePrincipal.cs
- Source:
- AuthenticablePrincipal.cs
- Source:
- AuthenticablePrincipal.cs
返回一个对象 PrincipalSearchResult<T> 集合,对象在指定的日期和时间范围内有一次错误密码尝试。 这是想要实现此功能的扩展类的模板函数。
protected:
generic <typename T>
static System::DirectoryServices::AccountManagement::PrincipalSearchResult<T> ^ FindByBadPasswordAttempt(System::DirectoryServices::AccountManagement::PrincipalContext ^ context, DateTime time, System::DirectoryServices::AccountManagement::MatchType type);
protected static System.DirectoryServices.AccountManagement.PrincipalSearchResult<T> FindByBadPasswordAttempt<T> (System.DirectoryServices.AccountManagement.PrincipalContext context, DateTime time, System.DirectoryServices.AccountManagement.MatchType type);
static member FindByBadPasswordAttempt : System.DirectoryServices.AccountManagement.PrincipalContext * DateTime * System.DirectoryServices.AccountManagement.MatchType -> System.DirectoryServices.AccountManagement.PrincipalSearchResult<'T>
Protected Shared Function FindByBadPasswordAttempt(Of T) (context As PrincipalContext, time As DateTime, type As MatchType) As PrincipalSearchResult(Of T)
类型参数
- T
参数
- context
- PrincipalContext
PrincipalContext,用于指定要对其执行操作的服务器或域。
返回
含有一个或多个相应主体类型的 PrincipalSearchResult<T>;如果未找到匹配,则为空集合。
注解
时间默认为 UTC。 如果要以本地时间指定时间,请将 对象的 属性time
指定Kind为 DateTimeKind.Local。