PolicyLevel::GetNamedPermissionSet Method (String^)
.NET Framework (current version)
Returns the NamedPermissionSet in the current policy level with the specified name.
Assembly: mscorlib (in mscorlib.dll)
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
Available since 1.1
Show: