Share via


SPActiveDirectoryClaimProvider.GetSecurityIdentifierFromClaim method (String, String, String, String)

Extracts the equivalent SecurityIdentifier from claim data representing an Active Directory user or security group.

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

Syntax

'Declaration
Public Shared Function GetSecurityIdentifierFromClaim ( _
    claimType As String, _
    claimValue As String, _
    claimValueType As String, _
    claimOriginalIssuer As String _
) As SecurityIdentifier
'Usage
Dim claimType As String
Dim claimValue As String
Dim claimValueType As String
Dim claimOriginalIssuer As String
Dim returnValue As SecurityIdentifier

returnValue = SPActiveDirectoryClaimProvider.GetSecurityIdentifierFromClaim(claimType, _
    claimValue, claimValueType, claimOriginalIssuer)
public static SecurityIdentifier GetSecurityIdentifierFromClaim(
    string claimType,
    string claimValue,
    string claimValueType,
    string claimOriginalIssuer
)

Parameters

Return value

Type: System.Security.Principal.SecurityIdentifier
An object that represents the security identifier.

Exceptions

Exception Condition
ArgumentException

The claim data passed was not a user or security group claim.

See also

Reference

SPActiveDirectoryClaimProvider class

SPActiveDirectoryClaimProvider members

GetSecurityIdentifierFromClaim overload

Microsoft.SharePoint.Administration.Claims namespace