SecurityRoleAttribute Constructor (String^, Boolean)

 

Initializes a new instance of the SecurityRoleAttribute class and sets the Role and SetEveryoneAccess properties.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public:
SecurityRoleAttribute(
	String^ role,
	bool everyone
)

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
Return to top
Show: