Claim.CreateWindowsSidClaim(SecurityIdentifier) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A SecurityIdentifier that represents the SID.
Returns
A Claim that represents the SID specified in the sid
parameter.
Exceptions
sid
is null
.
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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.