Share via


SPClaimProviderOperations.ClaimsForEntity method (Uri, SPClaim)

Gets a set of claims for the user described by the input claim.

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

Syntax

'Declaration
Public Shared Function ClaimsForEntity ( _
    context As Uri, _
    entity As SPClaim _
) As SPClaim()
'Usage
Dim context As Uri
Dim entity As SPClaim
Dim returnValue As SPClaim()

returnValue = SPClaimProviderOperations.ClaimsForEntity(context, _
    entity)
public static SPClaim[] ClaimsForEntity(
    Uri context,
    SPClaim entity
)

Parameters

  • context
    Type: System.Uri

    The Uniform Resource Identifier (URI) describing the Microsoft SharePoint Foundation context the operation is taking place in.

Return value

Type: []
An array of claims.

Remarks

For more information, see SPClaim.

See also

Reference

SPClaimProviderOperations class

SPClaimProviderOperations members

ClaimsForEntity overload

Microsoft.SharePoint.Administration.Claims namespace