C# 클래스 Simple.Providers.MySQL.MysqlRoleProvider

상속: System.Web.Security.RoleProvider
파일 보기 프로젝트 열기: adlnet/3D-Repository

공개 메소드들

메소드 설명
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, NameValueCollection config ) : void
IsUserInRole ( string username, string rolename ) : bool
RemoveUsersFromRoles ( string usernames, string rolenames ) : void
RoleExists ( string rolename ) : bool

비공개 메소드들

메소드 설명
WriteToEventLog ( System.Data.Odbc.OdbcException e, string action ) : void

메소드 상세

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, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
리턴 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