Visual Guard Class Library Documentation

VGRole.Name Property

Gets or sets the name of the role.

public String Name {get; set;}

Remarks

all shared role names are prefixed by "#".

Exceptions

Exception Type Condition
ArgumentNullException the value is null.
ArgumentException the value is empty or contains invalid chars ('\', '/', '?', '*', '%', ';', ''', '"', ':', '|', '[', ']', '+', '=', ',').

or

the value is longer than 64 characters.
InvalidOperationException the value is modified and the role is marked as a built-in role.

See Also

VGRole Class | Novalys.VisualGuard.Security.Membership Namespace