C# 클래스 BgEngine.Security.Services.CodeFirstRoleServices

파일 보기 프로젝트 열기: yagopv/BgEngine

공개 메소드들

메소드 설명
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

메소드 상세

AddUsersToRoles() 공개 정적인 메소드

public static AddUsersToRoles ( string usernames, string rolenames ) : void
usernames string
rolenames string
리턴 void

GetAllRoles() 공개 정적인 메소드

public static GetAllRoles ( ) : string[]
리턴 string[]

GetUsersInRole() 공개 정적인 메소드

public static GetUsersInRole ( string role ) : string[]
role string
리턴 string[]

IsUserInRole() 공개 정적인 메소드

public static IsUserInRole ( string user, string role ) : bool
user string
role string
리턴 bool

RemoveUsersFromRoles() 공개 정적인 메소드

public static RemoveUsersFromRoles ( string usernames, string rolenames ) : void
usernames string
rolenames string
리턴 void

RoleExist() 공개 정적인 메소드

public static RoleExist ( string role ) : bool
role string
리턴 bool