C# Class TeamMentor.UnitTests.TM_Website.TM_WebServices_Users_ExtensionMethods

Show file Open project: TeamMentor/Master

Public Methods

Method Description
add_User ( this webServices ) : int
add_User ( this webServices, NewUser newUser ) : int
add_User ( this webServices, string username, string password ) : int
current_SessionId ( this webServices ) : System.Guid
current_User ( this webServices ) : TM_User
delete_User ( this webServices, TM_User tmUser ) : bool
delete_User ( this webServices, int userId ) : bool
delete_User ( this webServices, string userName ) : bool
loggedIn ( this webServices ) : bool
login_with_AuthToken ( this webServices, System.Guid authToken ) : bool
login_with_Pwd ( this webServices, string username, string password ) : bool
logout ( this webServices ) : bool
sessionId ( this webServices ) : System.Guid
user ( this webServices, int userId ) : TM_User
user ( this webServices, string userName ) : TM_User
user_AuthToken ( this webServices, int userId ) : System.Guid
users ( this webServices ) : List

Method Details

add_User() public static method

public static add_User ( this webServices ) : int
webServices this
return int

add_User() public static method

public static add_User ( this webServices, NewUser newUser ) : int
webServices this
newUser TeamMentor.UnitTests.TM_Website.WebServices.NewUser
return int

add_User() public static method

public static add_User ( this webServices, string username, string password ) : int
webServices this
username string
password string
return int

current_SessionId() public static method

public static current_SessionId ( this webServices ) : System.Guid
webServices this
return System.Guid

current_User() public static method

public static current_User ( this webServices ) : TM_User
webServices this
return TeamMentor.UnitTests.TM_Website.WebServices.TM_User

delete_User() public static method

public static delete_User ( this webServices, TM_User tmUser ) : bool
webServices this
tmUser TeamMentor.UnitTests.TM_Website.WebServices.TM_User
return bool

delete_User() public static method

public static delete_User ( this webServices, int userId ) : bool
webServices this
userId int
return bool

delete_User() public static method

public static delete_User ( this webServices, string userName ) : bool
webServices this
userName string
return bool

loggedIn() public static method

public static loggedIn ( this webServices ) : bool
webServices this
return bool

login_with_AuthToken() public static method

public static login_with_AuthToken ( this webServices, System.Guid authToken ) : bool
webServices this
authToken System.Guid
return bool

login_with_Pwd() public static method

public static login_with_Pwd ( this webServices, string username, string password ) : bool
webServices this
username string
password string
return bool

logout() public static method

public static logout ( this webServices ) : bool
webServices this
return bool

sessionId() public static method

public static sessionId ( this webServices ) : System.Guid
webServices this
return System.Guid

user() public static method

public static user ( this webServices, int userId ) : TM_User
webServices this
userId int
return TeamMentor.UnitTests.TM_Website.WebServices.TM_User

user() public static method

public static user ( this webServices, string userName ) : TM_User
webServices this
userName string
return TeamMentor.UnitTests.TM_Website.WebServices.TM_User

user_AuthToken() public static method

public static user_AuthToken ( this webServices, int userId ) : System.Guid
webServices this
userId int
return System.Guid

users() public static method

public static users ( this webServices ) : List
webServices this
return List