RoleExists() public method

public RoleExists ( string roleName ) : bool
roleName string
return bool
コード例 #1
0
 public static bool RoleExist(string role)
 {
     CodeFirstRoleProvider rp = new CodeFirstRoleProvider();
     return rp.RoleExists(role);
 }