PolicyLevel.AddNamedPermissionSet(NamedPermissionSet) Method

Definition

Adds a NamedPermissionSet to the current policy level.

public:
 void AddNamedPermissionSet(System::Security::NamedPermissionSet ^ permSet);
public void AddNamedPermissionSet (System.Security.NamedPermissionSet permSet);
member this.AddNamedPermissionSet : System.Security.NamedPermissionSet -> unit
Public Sub AddNamedPermissionSet (permSet As NamedPermissionSet)

Parameters

permSet
NamedPermissionSet

The NamedPermissionSet to add to the current policy level.

Exceptions

The permSet parameter is null.

The permSet parameter has the same name as an existing NamedPermissionSet in the PolicyLevel.

Remarks

Named permission sets are scoped by policy level.

Applies to