How todo I get user rolesUser Roles based on username.Username?
UserRoles roles = user.Roles;
string role = roles.GetEnumerator().ToString();
If I have a user, I can i get user roleit like this.
Please suggest me easy way But how do I get the roles when all I have is a Username?