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
entity
Type: Microsoft.SharePoint.Administration.Claims.SPClaimUm único SPClaim identifica a entidade que está solicitando declarações.
Valor retornado
Type: Microsoft.SharePoint.Administration.Claims.SPClaim
Exceptions
Exception | Condition |
---|---|
NotImplementedException | Se SupportsEntityInformation for falsa. |
ArgumentNullException | Se context ou entity é nulo. |