BgEngine.Security.Services.CodeFirstRoleServices.IsUserInRole C# (CSharp) Méthode

IsUserInRole() public static méthode

public static IsUserInRole ( string user, string role ) : bool
user string
role string
Résultat bool
        public static bool IsUserInRole(string user, string role)
        {
            CodeFirstRoleProvider rp = new CodeFirstRoleProvider();
            return rp.IsUserInRole(user, role);
        }