C# 클래스 BgEngine.Infraestructure.Security.CodeFirstRoleProvider

상속: System.Web.Security.RoleProvider
파일 보기 프로젝트 열기: yagopv/BgEngine 1 사용 예제들

공개 메소드들

메소드 설명
AddUsersToRoles ( string usernames, string roleNames ) : void
CreateRole ( string roleName ) : void
DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool
FindUsersInRole ( string roleName, string usernameToMatch ) : string[]
GetAllRoles ( ) : string[]
GetRolesForUser ( string userName ) : string[]
GetUsersInRole ( string roleName ) : string[]
Initialize ( string name, System config ) : void
IsUserInRole ( string userName, string roleName ) : bool
RemoveUsersFromRoles ( string usernames, string roleNames ) : void
RoleExists ( string roleName ) : bool

비공개 메소드들

메소드 설명
CreateArgumentNullOrEmptyException ( string paramName ) : ArgumentException

메소드 상세

AddUsersToRoles() 공개 메소드

public AddUsersToRoles ( string usernames, string roleNames ) : void
usernames string
roleNames string
리턴 void

CreateRole() 공개 메소드

public CreateRole ( string roleName ) : void
roleName string
리턴 void

DeleteRole() 공개 메소드

public DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool
roleName string
throwOnPopulatedRole bool
리턴 bool

FindUsersInRole() 공개 메소드

public FindUsersInRole ( string roleName, string usernameToMatch ) : string[]
roleName string
usernameToMatch string
리턴 string[]

GetAllRoles() 공개 메소드

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

GetRolesForUser() 공개 메소드

public GetRolesForUser ( string userName ) : string[]
userName string
리턴 string[]

GetUsersInRole() 공개 메소드

public GetUsersInRole ( string roleName ) : string[]
roleName string
리턴 string[]

Initialize() 공개 메소드

public Initialize ( string name, System config ) : void
name string
config System
리턴 void

IsUserInRole() 공개 메소드

public IsUserInRole ( string userName, string roleName ) : bool
userName string
roleName string
리턴 bool

RemoveUsersFromRoles() 공개 메소드

public RemoveUsersFromRoles ( string usernames, string roleNames ) : void
usernames string
roleNames string
리턴 void

RoleExists() 공개 메소드

public RoleExists ( string roleName ) : bool
roleName string
리턴 bool