C# Class TeamMentor.UserData.Users_Creation

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

Public Methods

Method 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

Method 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 method

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

createDefaultAdminUser() public static method

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

createSigupResponse() public static method

public static createSigupResponse ( this newUser ) : Signup_Result
newUser this
return TeamMentor.CoreLib.Signup_Result

createTmUser() public static method

public static createTmUser ( this userData, NewUser newUser ) : int
userData this
newUser TeamMentor.CoreLib.NewUser
return int

createTmUserResponse() public static method

public static createTmUserResponse ( this userData, NewUser newUser ) : Signup_Result
userData this
newUser TeamMentor.CoreLib.NewUser
return TeamMentor.CoreLib.Signup_Result

createTmUsers() public static method

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

createUser() public static method

public static createUser ( this userName ) : TMUser
userName this
return TeamMentor.CoreLib.TMUser

newUser() public static method

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

newUser() public static method

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

newUser() public static method

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

newUser() public static method

public static newUser ( this userData, string username, string password, string email ) : int
userData this
username string
password string
email string
return int

newUser() public static method

public static newUser ( this userData, string username, string password, string email, int groupId ) : int
userData this
username string
password string
email string
groupId int
return int

newUser() public static method

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
return int

valid_Email_Address() public static method

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

with_Random_Data() public static method

public static with_Random_Data ( this newUser ) : NewUser
newUser this
return TeamMentor.CoreLib.NewUser