PolicyLevel.GetNamedPermissionSet Method (String)

 

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

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public NamedPermissionSet GetNamedPermissionSet(
	string name
)

Parameters

name
Type: System.String

The name of the NamedPermissionSet to find.

Return Value

Type: System.Security.NamedPermissionSet

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

Exception Condition
ArgumentNullException

The name parameter is null.

.NET Framework
Available since 1.1
Return to top
Show: