共用方式為


SecurityUtilities.IdentityListToPermissionSet(String[]) Method

Definition

Converts an array of permission identity strings to a permission set object.

public:
 static System::Security::PermissionSet ^ IdentityListToPermissionSet(cli::array <System::String ^> ^ ids);
public static System.Security.PermissionSet IdentityListToPermissionSet (string[] ids);
static member IdentityListToPermissionSet : string[] -> System.Security.PermissionSet
Public Shared Function IdentityListToPermissionSet (ids As String()) As PermissionSet

Parameters

ids
String[]

An array of permission identity strings.

Returns

The converted permission set.

Applies to