SPClaimsAuthMembershipProvider.UnlockUser 方法

清除锁定,防止用户进行了验证。

命名空间:  Microsoft.SharePoint.Administration.Claims
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overrides Function UnlockUser ( _
    userName As String _
) As Boolean
用法
Dim instance As SPClaimsAuthMembershipProvider
Dim userName As String
Dim returnValue As Boolean

returnValue = instance.UnlockUser(userName)
public override bool UnlockUser(
    string userName
)

参数

返回值

类型:System.Boolean
true如果成功,则是未锁定该成员资格用户否则为false。

备注

此重写清除中的成员资格提供程序不是SPClaimsAuthMembershipProvider,并使用基于窗体的当前应用程序中的身份验证的用户的锁定。

另请参阅

引用

SPClaimsAuthMembershipProvider 类

SPClaimsAuthMembershipProvider 成员

Microsoft.SharePoint.Administration.Claims 命名空间