Επεξεργασία

Κοινή χρήση μέσω


SecurityRoleAttribute.SetEveryoneAccess Property

Definition

Sets a value indicating whether to add the Everyone user group as a user.

public:
 property bool SetEveryoneAccess { bool get(); void set(bool value); };
public bool SetEveryoneAccess { get; set; }
member this.SetEveryoneAccess : bool with get, set
Public Property SetEveryoneAccess As Boolean

Property Value

true to require that a newly created role have the Everyone user group added as a user (roles that already exist on the application are not modified); otherwise, false to suppress adding the Everyone user group as a user.

Remarks

Set this property to false to suppress adding the Everyone user group as a user to newly created roles. Set the property to true to require that a newly created role have Everyone added as a user. Roles which already exist on the application are not modified.

Applies to