Share via


SPClaimProvider.UserKeyForEntity method

Get the user key for the entity.

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

Syntax

'Declaration
Public Function UserKeyForEntity ( _
    entity As SPClaim _
) As SPClaim
'Usage
Dim instance As SPClaimProvider
Dim entity As SPClaim
Dim returnValue As SPClaim

returnValue = instance.UserKeyForEntity(entity)
public SPClaim UserKeyForEntity(
    SPClaim entity
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.Claims.SPClaim

Exceptions

Exception Condition
NotImplementedException

If SupportsEntityInformation is false.

ArgumentNullException

If context or entity is null.

See also

Reference

SPClaimProvider class

SPClaimProvider members

Microsoft.SharePoint.Administration.Claims namespace