NamedPermissionSet::Name Property

 

Gets or sets the name of the current named permission set.

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

public:
property String^ Name {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The name of the named permission set.

Exception Condition
ArgumentException

The name is null or is an empty string ("").

Code groups refer to permission sets by name.

The following code example shows the use of the Name property to display the name of a NamedPermissionSet. This code example is part of a larger example provided for the NamedPermissionSet class.

.NET Framework
Available since 1.1
Return to top
Show: