SPClaimProvider.UserKeyForEntity 方法
获得entity的用户密钥。
命名空间: Microsoft.SharePoint.Administration.Claims
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function UserKeyForEntity ( _
entity As SPClaim _
) As SPClaim
用法
Dim instance As SPClaimProvider
Dim entity As SPClaim
Dim returnValue As SPClaim
returnValue = instance.UserKeyForEntity(entity)
public SPClaim UserKeyForEntity(
SPClaim entity
)
参数
entity
类型:Microsoft.SharePoint.Administration.Claims.SPClaim实体标识单个SPClaim我们要求的声明。
返回值
类型:Microsoft.SharePoint.Administration.Claims.SPClaim
异常
异常 | 条件 |
---|---|
NotImplementedException | |
ArgumentNullException | 如果context或entity为空。 |