C# Class TeamMentor.UserData.Users_Creation

Afficher le fichier Open project: TeamMentor/Master

Méthodes publiques

Méthode Description
create ( this newUser ) : int
createDefaultAdminUser ( this userData ) : int
createSigupResponse ( this newUser ) : Signup_Result
createTmUser ( this userData, NewUser newUser ) : int
createTmUserResponse ( this userData, NewUser newUser ) : Signup_Result
createTmUsers ( this userData, string batchUserData ) : List
createUser ( this userName ) : TMUser
newUser ( this userName ) : int
newUser ( this userData, string username ) : int
newUser ( this userData, string username, string password ) : int
newUser ( this userData, string username, string password, string email ) : int
newUser ( this userData, string username, string password, string email, int groupId ) : int
newUser ( this userData, string username, string password, string email, string firstname, string lastname, string note, string title, string company, string country, string state, List userTags, int groupId ) : int
valid_Email_Address ( this tmUser ) : bool
with_Random_Data ( this newUser ) : NewUser

Private Methods

Méthode Description
GetErrorMessage ( string field, string message ) : Signup_Result
UserTags_Validation ( TMConfig config, UserTag tag ) : Signup_Result
ValidateUserName ( TMConfig config ) : Signup_Result
ValidationFailed ( TMConfig config, NewUser newUser ) : Signup_Result
createTmUsers ( this userData, List newUsers ) : List

Method Details

create() public static méthode

public static create ( this newUser ) : int
newUser this
Résultat int

createDefaultAdminUser() public static méthode

public static createDefaultAdminUser ( this userData ) : int
userData this
Résultat int

createSigupResponse() public static méthode

public static createSigupResponse ( this newUser ) : Signup_Result
newUser this
Résultat TeamMentor.CoreLib.Signup_Result

createTmUser() public static méthode

public static createTmUser ( this userData, NewUser newUser ) : int
userData this
newUser TeamMentor.CoreLib.NewUser
Résultat int

createTmUserResponse() public static méthode

public static createTmUserResponse ( this userData, NewUser newUser ) : Signup_Result
userData this
newUser TeamMentor.CoreLib.NewUser
Résultat TeamMentor.CoreLib.Signup_Result

createTmUsers() public static méthode

public static createTmUsers ( this userData, string batchUserData ) : List
userData this
batchUserData string
Résultat List

createUser() public static méthode

public static createUser ( this userName ) : TMUser
userName this
Résultat TeamMentor.CoreLib.TMUser

newUser() public static méthode

public static newUser ( this userName ) : int
userName this
Résultat int

newUser() public static méthode

public static newUser ( this userData, string username ) : int
userData this
username string
Résultat int

newUser() public static méthode

public static newUser ( this userData, string username, string password ) : int
userData this
username string
password string
Résultat int

newUser() public static méthode

public static newUser ( this userData, string username, string password, string email ) : int
userData this
username string
password string
email string
Résultat int

newUser() public static méthode

public static newUser ( this userData, string username, string password, string email, int groupId ) : int
userData this
username string
password string
email string
groupId int
Résultat int

newUser() public static méthode

public static newUser ( this userData, string username, string password, string email, string firstname, string lastname, string note, string title, string company, string country, string state, List userTags, int groupId ) : int
userData this
username string
password string
email string
firstname string
lastname string
note string
title string
company string
country string
state string
userTags List
groupId int
Résultat int

valid_Email_Address() public static méthode

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

with_Random_Data() public static méthode

public static with_Random_Data ( this newUser ) : NewUser
newUser this
Résultat TeamMentor.CoreLib.NewUser