Claim.CreateWindowsSidClaim(SecurityIdentifier) Claim.CreateWindowsSidClaim(SecurityIdentifier) Claim.CreateWindowsSidClaim(SecurityIdentifier) Claim.CreateWindowsSidClaim(SecurityIdentifier) Method

Definition

Creates a Claim object that represents the specified security identifier (SID).

public:
 static System::IdentityModel::Claims::Claim ^ CreateWindowsSidClaim(System::Security::Principal::SecurityIdentifier ^ sid);
public static System.IdentityModel.Claims.Claim CreateWindowsSidClaim (System.Security.Principal.SecurityIdentifier sid);
static member CreateWindowsSidClaim : System.Security.Principal.SecurityIdentifier -> System.IdentityModel.Claims.Claim
Public Shared Function CreateWindowsSidClaim (sid As SecurityIdentifier) As Claim

Parameters

Returns

A Claim that represents the SID specified in the sid parameter.

Exceptions

Remarks

The Claim object this method creates has the property values shown in the following table.

Property Value
ClaimType Sid
Resource The value of the sid parameter.
Right PossessProperty.

Applies to