共用方式為


SPClaimProvider.UserKeyForEntity method

取得entity的使用者索引鍵。

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
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
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.Claims.SPClaim

Exceptions

Exception Condition
NotImplementedException

如果SupportsEntityInformation為 false。

ArgumentNullException

如果context或entity是 null。

請參閱

參照

SPClaimProvider class

SPClaimProvider members

Microsoft.SharePoint.Administration.Claims namespace