C# Class SecurityInnovation.TeamMentor.WebClient.WebServices.TM_Xml_Database_ExtensionMethods_Users

ファイルを表示 Open project: TeamMentor-OWASP/Master

Public Methods

Method Description
createDefaultAdminUser ( this tmDb ) : int
createTmUser ( this tmDb, NewUser newUser ) : int
createTmUsers ( this tmDb, string batchUserData ) : List
getUserGroupId ( this tmDb, int userId ) : int
getUserGroupName ( this tmDb, int userId ) : string
login ( this tmDb, string username, string passwordHash ) : System.Guid
login_PwdInClearText ( this tmDb, string username, string password ) : System.Guid
newUser ( this tmDb ) : int
newUser ( this tmDb, string username ) : int
newUser ( this tmDb, string username, string passwordHash ) : int
newUser ( this tmDb, string username, string passwordHash, int groupId ) : int
newUser ( this tmDb, string username, string passwordHash, string email, string firstname, string lastname, string note, int groupId ) : int
newUser_ClearTextPassword ( this tmDb, string username, string password ) : int
setUserPassword ( this tmDb, TMUser tmUser, string passwordHash ) : bool
setUserPassword ( this tmDb, int userId, string passwordHash ) : bool
setUserPassword ( this tmDb, string username, string passwordHash ) : bool
setUserPassword_PwdInClearText ( this tmDb, string username, string password ) : bool
tmUser ( this name ) : TMUser
tmUser ( this tmDb, int userId ) : TMUser
tmUser ( this tmDb, string name ) : TMUser
userIds ( this tmUsers ) : List

Private Methods

Method Description
createTmUsers ( this tmDb, List newUsers ) : List
deleteTmUser ( this tmDb, int userId ) : bool
deleteTmUsers ( this tmDb, List userIds ) : List
getUserRoles ( this tmDb, int userId ) : List
setUserGroupId ( this tmDb, int userId, int groupId ) : bool
set_PostLoginScript ( this tmUser, string postLoginScript ) : TMUser
set_PostLoginView ( this tmUser, string postLoginView ) : TMUser
tmUsers ( this tmDb ) : List
tmUsers ( this usersId ) : List
updateTmUser ( this tmDb, int userId, string userName, string firstname, string lastname, string title, string company, string email, int groupId ) : bool

Method Details

createDefaultAdminUser() public static method

public static createDefaultAdminUser ( this tmDb ) : int
tmDb this
return int

createTmUser() public static method

public static createTmUser ( this tmDb, NewUser newUser ) : int
tmDb this
newUser NewUser
return int

createTmUsers() public static method

public static createTmUsers ( this tmDb, string batchUserData ) : List
tmDb this
batchUserData string
return List

getUserGroupId() public static method

public static getUserGroupId ( this tmDb, int userId ) : int
tmDb this
userId int
return int

getUserGroupName() public static method

public static getUserGroupName ( this tmDb, int userId ) : string
tmDb this
userId int
return string

login() public static method

public static login ( this tmDb, string username, string passwordHash ) : System.Guid
tmDb this
username string
passwordHash string
return System.Guid

login_PwdInClearText() public static method

public static login_PwdInClearText ( this tmDb, string username, string password ) : System.Guid
tmDb this
username string
password string
return System.Guid

newUser() public static method

public static newUser ( this tmDb ) : int
tmDb this
return int

newUser() public static method

public static newUser ( this tmDb, string username ) : int
tmDb this
username string
return int

newUser() public static method

public static newUser ( this tmDb, string username, string passwordHash ) : int
tmDb this
username string
passwordHash string
return int

newUser() public static method

public static newUser ( this tmDb, string username, string passwordHash, int groupId ) : int
tmDb this
username string
passwordHash string
groupId int
return int

newUser() public static method

public static newUser ( this tmDb, string username, string passwordHash, string email, string firstname, string lastname, string note, int groupId ) : int
tmDb this
username string
passwordHash string
email string
firstname string
lastname string
note string
groupId int
return int

newUser_ClearTextPassword() public static method

public static newUser_ClearTextPassword ( this tmDb, string username, string password ) : int
tmDb this
username string
password string
return int

setUserPassword() public static method

public static setUserPassword ( this tmDb, TMUser tmUser, string passwordHash ) : bool
tmDb this
tmUser TMUser
passwordHash string
return bool

setUserPassword() public static method

public static setUserPassword ( this tmDb, int userId, string passwordHash ) : bool
tmDb this
userId int
passwordHash string
return bool

setUserPassword() public static method

public static setUserPassword ( this tmDb, string username, string passwordHash ) : bool
tmDb this
username string
passwordHash string
return bool

setUserPassword_PwdInClearText() public static method

public static setUserPassword_PwdInClearText ( this tmDb, string username, string password ) : bool
tmDb this
username string
password string
return bool

tmUser() public static method

public static tmUser ( this name ) : TMUser
name this
return TMUser

tmUser() public static method

public static tmUser ( this tmDb, int userId ) : TMUser
tmDb this
userId int
return TMUser

tmUser() public static method

public static tmUser ( this tmDb, string name ) : TMUser
tmDb this
name string
return TMUser

userIds() public static method

public static userIds ( this tmUsers ) : List
tmUsers this
return List