C# 클래스 WhiteCore.Services.SQLServices.UserAccountService.UserAccountService

상속: WhiteCore.Framework.Services.ConnectorBase, IUserAccountService, IService
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev

보호된 프로퍼티들

프로퍼티 타입 설명
m_AuthenticationService IAuthenticationService
m_Database IUserAccountData
m_cache GenericAccountCache
m_defaultDataPath string
m_newUserStipend int
m_profileConnector IProfileConnector
m_userNameSeed string[]

공개 메소드들

메소드 설명
CacheAccount ( UserAccount account ) : void
Configure ( IConfigSource config, IRegistryCore registry ) : void
CreateSaltedUser ( UserAccount newAccount, string passHash, string passSalt ) : string

Creates the user with salt.

CreateUser ( UUID userID, UUID scopeID, string name, string md5password, string email ) : string

Create a user

CreateUser ( UserAccount newAccount, string md5password ) : string

Create a user

CreateUser ( string name, string md5password, string email ) : void

Creates a basic user.

DeleteUser ( UUID userID, string name, string password, bool archiveInformation, bool wipeFromDatabase ) : void
FinishedStartup ( ) : void
GetAvatarArchivesFiles ( ) : List
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void
StoreUserAccount ( UserAccount data ) : bool
UserGodLevel ( int level ) : string

Users 'god' level.

보호된 메소드들

메소드 설명
AddCommands ( ) : void
HandleAddUser ( IScene scene, string cmd ) : void
HandleCreateUser ( IScene scene, string cmd ) : void

Handle the create (add) user command from the console.

HandleDeleteUser ( IScene scene, string cmd ) : void

Handles the delete user command. Delete or disable a user account

HandleDisableUser ( IScene scene, string cmd ) : void

Handles the disable user command.

HandleEnableUser ( IScene scene, string cmd ) : void

Handles the enable user command.

HandleLoadUsers ( IScene scene, string cmdParams ) : void

Handles the load users command.

HandleRenameUser ( IScene scene, string cmdparams ) : void
HandleResetPartner ( IScene scene, string cmdParams ) : void

Handles the reset partner command.

HandleResetUserPassword ( IScene scene, string cmd ) : void

Handles the reset user password command.

HandleSaveUsers ( IScene scene, string cmd ) : void

Handles the save users command.

HandleSetPartner ( IScene scene, string cmdParams ) : void

Handles the set partner command.

HandleSetTitle ( IScene scene, string cmdparams ) : void

Handles the user set title command.

HandleSetUserEmail ( IScene scene, string cmd ) : void

Handles the set user email command.

HandleSetUserLevel ( IScene scene, string cmdparams ) : void

Handles the set user level command.

HandleSetUserType ( IScene scene, string cmdparams ) : void

Handles the set user level command.

HandleShowAccount ( IScene scene, string cmdparams ) : void

Handles the show account command.

HandleShowUserAccount ( IScene scene, string cmd ) : void
HandleTestUsers ( IScene scene, string cmdParams ) : void

비공개 메소드들

메소드 설명
CreateNewUser ( UserAccount newAccount, string passHash, string passSalt ) : string
GetUserAccount ( List scopeIDs, UUID principalID ) : UserAccount
GetUserAccount ( List scopeIDs, string name ) : UserAccount
GetUserAccount ( List scopeIDs, string firstName, string lastName ) : UserAccount
GetUserAccounts ( List scopeIDs, int level, int flags ) : List
GetUserAccounts ( List scopeIDs, string query ) : List
GetUserAccounts ( List scopeIDs, string query, uint start, uint count ) : List
NumberOfUserAccounts ( List scopeIDs, string query ) : uint
SetHashedPassword ( UUID userId, string passHash ) : bool
SetSaltedPassword ( UUID userId, string passHash, string passSalt ) : bool
UserFlagToType ( int userFlags ) : string
UserTypeToUserFlags ( string userType ) : int

메소드 상세

AddCommands() 보호된 메소드

protected AddCommands ( ) : void
리턴 void

CacheAccount() 공개 메소드

public CacheAccount ( UserAccount account ) : void
account WhiteCore.Framework.Services.UserAccount
리턴 void

Configure() 공개 메소드

public Configure ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

CreateSaltedUser() 공개 메소드

Creates the user with salt.
public CreateSaltedUser ( UserAccount newAccount, string passHash, string passSalt ) : string
newAccount WhiteCore.Framework.Services.UserAccount New account.
passHash string Pass hash.
passSalt string Pass salt.
리턴 string

CreateUser() 공개 메소드

Create a user
public CreateUser ( UUID userID, UUID scopeID, string name, string md5password, string email ) : string
userID UUID
scopeID UUID
name string
md5password string
email string
리턴 string

CreateUser() 공개 메소드

Create a user
public CreateUser ( UserAccount newAccount, string md5password ) : string
newAccount WhiteCore.Framework.Services.UserAccount
md5password string
리턴 string

CreateUser() 공개 메소드

Creates a basic user.
public CreateUser ( string name, string md5password, string email ) : void
name string Name.
md5password string Md5password.
email string Email.
리턴 void

DeleteUser() 공개 메소드

public DeleteUser ( UUID userID, string name, string password, bool archiveInformation, bool wipeFromDatabase ) : void
userID UUID
name string
password string
archiveInformation bool
wipeFromDatabase bool
리턴 void

FinishedStartup() 공개 메소드

public FinishedStartup ( ) : void
리턴 void

GetAvatarArchivesFiles() 공개 메소드

public GetAvatarArchivesFiles ( ) : List
리턴 List

HandleAddUser() 보호된 메소드

protected HandleAddUser ( IScene scene, string cmd ) : void
scene IScene
cmd string
리턴 void

HandleCreateUser() 보호된 메소드

Handle the create (add) user command from the console.
protected HandleCreateUser ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string string array with parameters: firstname, lastname, password, email
리턴 void

HandleDeleteUser() 보호된 메소드

Handles the delete user command. Delete or disable a user account
protected HandleDeleteUser ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string string array with parameters: firstname, lastname, password
리턴 void

HandleDisableUser() 보호된 메소드

Handles the disable user command.
protected HandleDisableUser ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string string array with parameters: firstname, lastname.
리턴 void

HandleEnableUser() 보호된 메소드

Handles the enable user command.
protected HandleEnableUser ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string string array with parameters: firstname, lastname.
리턴 void

HandleLoadUsers() 보호된 메소드

Handles the load users command.
protected HandleLoadUsers ( IScene scene, string cmdParams ) : void
scene IScene Scene.
cmdParams string Cmdparams.
리턴 void

HandleRenameUser() 보호된 메소드

protected HandleRenameUser ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
리턴 void

HandleResetPartner() 보호된 메소드

Handles the reset partner command.
protected HandleResetPartner ( IScene scene, string cmdParams ) : void
scene IScene Scene.
cmdParams string Cmd parameters.
리턴 void

HandleResetUserPassword() 보호된 메소드

Handles the reset user password command.
protected HandleResetUserPassword ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string string array with parameters: firstname, lastname, newpassword,
리턴 void

HandleSaveUsers() 보호된 메소드

Handles the save users command.
protected HandleSaveUsers ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string Cmdparams.
리턴 void

HandleSetPartner() 보호된 메소드

Handles the set partner command.
protected HandleSetPartner ( IScene scene, string cmdParams ) : void
scene IScene Scene.
cmdParams string Cmd parameters.
리턴 void

HandleSetTitle() 보호된 메소드

Handles the user set title command.
protected HandleSetTitle ( IScene scene, string cmdparams ) : void
scene IScene Scene.
cmdparams string Cmdparams.
리턴 void

HandleSetUserEmail() 보호된 메소드

Handles the set user email command.
protected HandleSetUserEmail ( IScene scene, string cmd ) : void
scene IScene Scene.
cmd string Cmd.
리턴 void

HandleSetUserLevel() 보호된 메소드

Handles the set user level command.
protected HandleSetUserLevel ( IScene scene, string cmdparams ) : void
scene IScene Scene.
cmdparams string Cmdparams.
리턴 void

HandleSetUserType() 보호된 메소드

Handles the set user level command.
protected HandleSetUserType ( IScene scene, string cmdparams ) : void
scene IScene Scene.
cmdparams string Cmdparams.
리턴 void

HandleShowAccount() 보호된 메소드

Handles the show account command.
protected HandleShowAccount ( IScene scene, string cmdparams ) : void
scene IScene Scene.
cmdparams string Cmdparams.
리턴 void

HandleShowUserAccount() 보호된 메소드

protected HandleShowUserAccount ( IScene scene, string cmd ) : void
scene IScene
cmd string
리턴 void

HandleTestUsers() 보호된 메소드

protected HandleTestUsers ( IScene scene, string cmdParams ) : void
scene IScene
cmdParams string
리턴 void

Initialize() 공개 메소드

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

Start() 공개 메소드

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

StoreUserAccount() 공개 메소드

public StoreUserAccount ( UserAccount data ) : bool
data WhiteCore.Framework.Services.UserAccount
리턴 bool

UserGodLevel() 공개 메소드

Users 'god' level.
public UserGodLevel ( int level ) : string
level int Level.
리턴 string

프로퍼티 상세

m_AuthenticationService 보호되어 있는 프로퍼티

protected IAuthenticationService m_AuthenticationService
리턴 IAuthenticationService

m_Database 보호되어 있는 프로퍼티

protected IUserAccountData m_Database
리턴 IUserAccountData

m_cache 보호되어 있는 프로퍼티

protected GenericAccountCache m_cache
리턴 GenericAccountCache

m_defaultDataPath 보호되어 있는 프로퍼티

protected string m_defaultDataPath
리턴 string

m_newUserStipend 보호되어 있는 프로퍼티

protected int m_newUserStipend
리턴 int

m_profileConnector 보호되어 있는 프로퍼티

protected IProfileConnector m_profileConnector
리턴 IProfileConnector

m_userNameSeed 보호되어 있는 프로퍼티

protected string[] m_userNameSeed
리턴 string[]