SecurityRoleAttribute Constructor (String^, Boolean)
.NET Framework (current version)
Initializes a new instance of the SecurityRoleAttribute class and sets the Role and SetEveryoneAccess properties.
Assembly: System.EnterpriseServices (in System.EnterpriseServices.dll)
Parameters
- role
-
Type:
System::String^
A security role for the application, component, interface, or method.
- everyone
-
Type:
System::Boolean
true to require that the newly created role have the Everyone user group added as a user; otherwise, false.
.NET Framework
Available since 1.1
Available since 1.1
Show: