C# Class TeamMentor.CoreLib.TM_UserData_Ex_Users

Afficher le fichier Open project: TeamMentor/Master

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static deleteTmUser ( this tmUser ) : bool
tmUser this
Résultat bool

getUserGroupId() public static méthode

public static getUserGroupId ( this userData, int userId ) : int
userData this
userId int
Résultat int

getUserGroupName() public static méthode

public static getUserGroupName ( this userData, int userId ) : string
userData this
userId int
Résultat string

passwordReset() public static méthode

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

setPassword() public static méthode

public static setPassword ( this tmUser, string password ) : bool
tmUser this
password string
Résultat bool

setPasswordHash() public static méthode

public static setPasswordHash ( this tmUser, string passwordHash ) : bool
tmUser this
passwordHash string
Résultat bool

setUserPassword() public static méthode

public static setUserPassword ( this userData, TMUser tmUser, string currentPassword, string newPassword ) : bool
userData this
tmUser TMUser
currentPassword string
newPassword string
Résultat bool

setUserPassword() public static méthode

public static setUserPassword ( this userData, int userId, string password ) : bool
userData this
userId int
password string
Résultat bool

setUserPassword() public static méthode

public static setUserPassword ( this userData, string username, string password ) : bool
userData this
username string
password string
Résultat bool

setUserPasswordResponse() public static méthode

public static setUserPasswordResponse ( this userData, TMUser tmUser, string currentPassword, string newPassword ) : ChangePassword_Result
userData this
tmUser TMUser
currentPassword string
newPassword string
Résultat ChangePassword_Result

tmUser() public static méthode

public static tmUser ( this userId ) : TMUser
userId this
Résultat TMUser

tmUser() public static méthode

public static tmUser ( this userData, int userId ) : TMUser
userData this
userId int
Résultat TMUser

tmUser() public static méthode

public static tmUser ( this userData, string userName ) : TMUser
userData this
userName string
Résultat TMUser

tmUser_FromEmail() public static méthode

public static tmUser_FromEmail ( this email ) : TMUser
email this
Résultat TMUser

tmUser_FromEmail() public static méthode

public static tmUser_FromEmail ( this userData, string eMail ) : TMUser
userData this
eMail string
Résultat TMUser

tmUser_by_Name_or_Id() public static méthode

public static tmUser_by_Name_or_Id ( this userData, string userNameOrId ) : TMUser
userData this
userNameOrId string
Résultat TMUser

tmUsers() public static méthode

public static tmUsers ( this userData ) : List
userData this
Résultat List

tmUsers() public static méthode

public static tmUsers ( this usersId ) : List
usersId this
Résultat List

userIds() public static méthode

public static userIds ( this tmUsers ) : List
tmUsers this
Résultat List