PrivilegeNotHeldException.PrivilegeName Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the name of the privilege that is not enabled.

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

public string PrivilegeName { get; }

Property Value

Type: System.String

The name of the privilege that the method failed to enable.

.NET Framework
Available since 2.0
Return to top