asp.net membership - how to determine programmatically is user is in role
Easy~
HttpContext.Current.User.IsInRole("roleName")
if (User.IsInRole("rolename")) {
// my action
}
Easy~
HttpContext.Current.User.IsInRole("roleName")
if (User.IsInRole("rolename")) {
// my action
}