PermissionSetAttribute.CreatePermissionSet 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 and returns a new permission set based on this permission set attribute object.
public:
System::Security::PermissionSet ^ CreatePermissionSet();
public System.Security.PermissionSet CreatePermissionSet ();
member this.CreatePermissionSet : unit -> System.Security.PermissionSet
Public Function CreatePermissionSet () As PermissionSet
Returns
A new permission set.
Remarks
This method should be called only by the security system, never by application code.
Attributes are used at compile time to convert security declarations to a serialized form in metadata. Declarative security data in metadata is created from the permission object that this method returns, which corresponds to this attribute instance.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für