Claim.CreateDenyOnlyWindowsSidClaim(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 a deny-only specified security identifier (SID).
public:
static System::IdentityModel::Claims::Claim ^ CreateDenyOnlyWindowsSidClaim(System::Security::Principal::SecurityIdentifier ^ sid);
public static System.IdentityModel.Claims.Claim CreateDenyOnlyWindowsSidClaim (System.Security.Principal.SecurityIdentifier sid);
static member CreateDenyOnlyWindowsSidClaim : System.Security.Principal.SecurityIdentifier -> System.IdentityModel.Claims.Claim
Public Shared Function CreateDenyOnlyWindowsSidClaim (sid As SecurityIdentifier) As Claim
Parameters
A SecurityIdentifier that represents the deny-only SID.
Returns
A Claim that represents the SID specified in the sid
parameter.
Exceptions
sid
is null
.
Remarks
The deny-only SID is a SID_AND_ATTRIBUTES structure with the SE_GROUP_USE_FOR_DENY_ONLY flag set.
The Claim object this method creates has the property values shown in the following table.
Property | Value |
---|---|
ClaimType | DenyOnlySid |
Resource | The value of the sid parameter. |
Right | PossessProperty. |
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για