C# Class BgEngine.Security.Services.CodeFirstRoleServices

Afficher le fichier Open project: yagopv/BgEngine

Méthodes publiques

Méthode Description
AddUsersToRoles ( string usernames, string rolenames ) : void
GetAllRoles ( ) : string[]
GetUsersInRole ( string role ) : string[]
IsUserInRole ( string user, string role ) : bool
RemoveUsersFromRoles ( string usernames, string rolenames ) : void
RoleExist ( string role ) : bool

Method Details

AddUsersToRoles() public static méthode

public static AddUsersToRoles ( string usernames, string rolenames ) : void
usernames string
rolenames string
Résultat void

GetAllRoles() public static méthode

public static GetAllRoles ( ) : string[]
Résultat string[]

GetUsersInRole() public static méthode

public static GetUsersInRole ( string role ) : string[]
role string
Résultat string[]

IsUserInRole() public static méthode

public static IsUserInRole ( string user, string role ) : bool
user string
role string
Résultat bool

RemoveUsersFromRoles() public static méthode

public static RemoveUsersFromRoles ( string usernames, string rolenames ) : void
usernames string
rolenames string
Résultat void

RoleExist() public static méthode

public static RoleExist ( string role ) : bool
role string
Résultat bool