Gets a list of the roles that a user is in.
A string array containing the names of all the roles that the specified user is in.
| Exception Type | Condition |
|---|---|
| ArgumentException | username is longer than 256 characters. |
| ArgumentNullException | username is null. |
VGRoleProvider Class | Novalys.VisualGuard.Security.WebForm Namespace