C# Class TeamMentor.CoreLib.TM_UserData_Ex_Users

Datei anzeigen Open project: TeamMentor/Master

Public Methods

Method Description
deleteTmUser ( this tmUser ) : bool
getUserGroupId ( this userData, int userId ) : int
getUserGroupName ( this userData, int userId ) : string
passwordReset ( this userData, string userName, System.Guid token, string newPassword ) : bool
setPassword ( this tmUser, string password ) : bool
setPasswordHash ( this tmUser, string passwordHash ) : bool
setUserPassword ( this userData, TMUser tmUser, string currentPassword, string newPassword ) : bool
setUserPassword ( this userData, int userId, string password ) : bool
setUserPassword ( this userData, string username, string password ) : bool
setUserPasswordResponse ( this userData, TMUser tmUser, string currentPassword, string newPassword ) : ChangePassword_Result
tmUser ( this userId ) : TMUser
tmUser ( this userData, int userId ) : TMUser
tmUser ( this userData, string userName ) : TMUser
tmUser_FromEmail ( this email ) : TMUser
tmUser_FromEmail ( this userData, string eMail ) : TMUser
tmUser_by_Name_or_Id ( this userData, string userNameOrId ) : TMUser
tmUsers ( this userData ) : List
tmUsers ( this usersId ) : List
userIds ( this tmUsers ) : List

Private Methods

Method Description
CurrentPasswordAndNewPasswordAreEqualsResponse ( ) : ChangePassword_Result
CurrentPasswordDoNotMatchResponse ( ) : ChangePassword_Result
ValidatePasswordComplexity ( ) : ChangePassword_Result
ValidatePasswordLength ( ) : ChangePassword_Result
deleteTmUser ( this userData, int userId ) : bool
deleteTmUsers ( this userData, List userIds ) : List
getUserRoles ( this userData, int userId ) : List
setUserGroupId ( this userData, int userId, int groupId ) : bool
updateTmUser ( this userData, TM_User user ) : bool
updateTmUser ( this userData, int userId, string userName, string firstname, string lastname, string title, string company, string email, string country, string state, System.DateTime accountExpiration, bool passwordExpired, bool userEnabled, bool accountNeverExpires, int groupId ) : bool
users ( this userData ) : List

Method Details

deleteTmUser() public static method

public static deleteTmUser ( this tmUser ) : bool
tmUser this
return bool

getUserGroupId() public static method

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

getUserGroupName() public static method

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

passwordReset() public static method

public static passwordReset ( this userData, string userName, System.Guid token, string newPassword ) : bool
userData this
userName string
token System.Guid
newPassword string
return bool

setPassword() public static method

public static setPassword ( this tmUser, string password ) : bool
tmUser this
password string
return bool

setPasswordHash() public static method

public static setPasswordHash ( this tmUser, string passwordHash ) : bool
tmUser this
passwordHash string
return bool

setUserPassword() public static method

public static setUserPassword ( this userData, TMUser tmUser, string currentPassword, string newPassword ) : bool
userData this
tmUser TMUser
currentPassword string
newPassword string
return bool

setUserPassword() public static method

public static setUserPassword ( this userData, int userId, string password ) : bool
userData this
userId int
password string
return bool

setUserPassword() public static method

public static setUserPassword ( this userData, string username, string password ) : bool
userData this
username string
password string
return bool

setUserPasswordResponse() public static method

public static setUserPasswordResponse ( this userData, TMUser tmUser, string currentPassword, string newPassword ) : ChangePassword_Result
userData this
tmUser TMUser
currentPassword string
newPassword string
return ChangePassword_Result

tmUser() public static method

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

tmUser() public static method

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

tmUser() public static method

public static tmUser ( this userData, string userName ) : TMUser
userData this
userName string
return TMUser

tmUser_FromEmail() public static method

public static tmUser_FromEmail ( this email ) : TMUser
email this
return TMUser

tmUser_FromEmail() public static method

public static tmUser_FromEmail ( this userData, string eMail ) : TMUser
userData this
eMail string
return TMUser

tmUser_by_Name_or_Id() public static method

public static tmUser_by_Name_or_Id ( this userData, string userNameOrId ) : TMUser
userData this
userNameOrId string
return TMUser

tmUsers() public static method

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

tmUsers() public static method

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

userIds() public static method

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