Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft