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.UriThe Uniform Resource Identifier (URI) describing the Microsoft SharePoint Foundation context the operation is taking place in.
entity
Type: Microsoft.SharePoint.Administration.Claims.SPClaimA claim that uniquely identifies the user the query is addressing. For more information, see SPClaim.
Return value
Type: []
An array of claims.
Remarks
For more information, see SPClaim.
See also
Reference
SPClaimProviderOperations class