PolicyLevel.GetNamedPermissionSet(String) Method

Definition

Returns the NamedPermissionSet in the current policy level with the specified name.

public:
 System::Security::NamedPermissionSet ^ GetNamedPermissionSet(System::String ^ name);
public System.Security.NamedPermissionSet GetNamedPermissionSet (string name);
member this.GetNamedPermissionSet : string -> System.Security.NamedPermissionSet
Public Function GetNamedPermissionSet (name As String) As NamedPermissionSet

Parameters

name
String

The name of the NamedPermissionSet to find.

Returns

The NamedPermissionSet in the current policy level with the specified name, if found; otherwise, null.

Exceptions

The name parameter is null.

Applies to

See also