Compartilhar via


SPClaimProvider.UserKeyForEntity method

Obter a chave de usuário para o entity.

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

Syntax

'Declaração
Public Function UserKeyForEntity ( _
    entity As SPClaim _
) As SPClaim
'Uso
Dim instance As SPClaimProvider
Dim entity As SPClaim
Dim returnValue As SPClaim

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

Parâmetros

Valor retornado

Type: Microsoft.SharePoint.Administration.Claims.SPClaim

Exceptions

Exception Condition
NotImplementedException

Se SupportsEntityInformation for falsa.

ArgumentNullException

Se context ou entity é nulo.

Ver também

Referência

SPClaimProvider class

SPClaimProvider members

Microsoft.SharePoint.Administration.Claims namespace