ASP.net is user in role
The below returns true or false depending on if the specified user is in the specified role
Roles.IsUserInRole(userName, role)
So, for example, if you wanted to remove a user from a specific role you could use
if (Roles.IsUserInRole(userName, role))
Roles.RemoveUserFromRole(userName, role);