public static RemoveUserFromRole ( string userName, string roleName ) : bool | ||
userName | string | |
roleName | string | |
리턴 | bool |
public bool RemoveFromRole(string roleName) { if (SecurityData.IsUserInRole(this.UserName, roleName)) { SecurityData.RemoveUserFromRole(this.UserName, roleName); return(true); } else { return(false); } }
public bool RemoveFromRole(string roleName) { return(SecurityData.RemoveUserFromRole(this.UserName, roleName)); }