C# 클래스 CodeGarten.Data.Access.UserManager

파일 보기 프로젝트 열기: CodeGarten/CodeGarten 1 사용 예제들

공개 메소드들

메소드 설명
ChangeEmail ( string name, string newEmail ) : void
ChangePassword ( string name, string newPassword ) : void
Create ( string name, string password, string email ) : User
Delete ( string userName ) : void
Disenroll ( string user, long structure, long container, string roleType ) : bool
Enroll ( string user, long structure, long container, string roleType, string password = null ) : bool
Get ( string user ) : User
GetAll ( ) : IQueryable
GetEnrolls ( string userName ) : IQueryable
Search ( string query ) : IQueryable
UserManager ( DataBaseManager db ) : System

비공개 메소드들

메소드 설명
EnrollInherited ( User user, Container container, RoleType roleType ) : bool
ExisteRole ( Container container, RoleType roleType ) : bool
InheritedDisenroll ( User user, Container container, RoleType roleType ) : bool
InheritedDisenrollChilds ( User user, Container container, RoleType roleType ) : void
InheritedDisenrollParents ( User user, Container container, RoleType roleType ) : void
InheritedEnrollChilds ( User user, Container container, RoleType roleType ) : void
InheritedEnrollParents ( User user, Container container, RoleType roleType ) : void
InvokeOnCreateUser ( User user, string passwordPlainText ) : void
InvokeOnDisenrollUser ( Enroll enroll, Container container ) : void
InvokeOnEnrollUser ( Enroll enroll ) : void
InvokeOnRemoveUser ( User user ) : void
InvokeOnUserChangePassword ( User user, string passwordPlainText ) : void
PermissionToEnroll ( Container container, RoleType roleType, RoleBarrier roleBarrier ) : bool
SyncronizeEnrolls ( Container container ) : void

메소드 상세

ChangeEmail() 공개 메소드

public ChangeEmail ( string name, string newEmail ) : void
name string
newEmail string
리턴 void

ChangePassword() 공개 메소드

public ChangePassword ( string name, string newPassword ) : void
name string
newPassword string
리턴 void

Create() 공개 메소드

public Create ( string name, string password, string email ) : User
name string
password string
email string
리턴 CodeGarten.Data.Model.User

Delete() 공개 메소드

public Delete ( string userName ) : void
userName string
리턴 void

Disenroll() 공개 메소드

public Disenroll ( string user, long structure, long container, string roleType ) : bool
user string
structure long
container long
roleType string
리턴 bool

Enroll() 공개 메소드

public Enroll ( string user, long structure, long container, string roleType, string password = null ) : bool
user string
structure long
container long
roleType string
password string
리턴 bool

Get() 공개 메소드

public Get ( string user ) : User
user string
리턴 CodeGarten.Data.Model.User

GetAll() 공개 메소드

public GetAll ( ) : IQueryable
리턴 IQueryable

GetEnrolls() 공개 메소드

public GetEnrolls ( string userName ) : IQueryable
userName string
리턴 IQueryable

Search() 공개 메소드

public Search ( string query ) : IQueryable
query string
리턴 IQueryable

UserManager() 공개 메소드

public UserManager ( DataBaseManager db ) : System
db DataBaseManager
리턴 System