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
entity
Type: Microsoft.SharePoint.Administration.Claims.SPClaimA single SPClaim identifying the entity we are requesting claims for.
Return value
Type: Microsoft.SharePoint.Administration.Claims.SPClaim
Exceptions
Exception | Condition |
---|---|
NotImplementedException | If SupportsEntityInformation is false. |
ArgumentNullException | If context or entity is null. |