Register User

API Type

Web Services

Description

Registers a new user in the AgilePoint system.

Syntax

public virtual void RegisterUser(RegisteredUser user)

Parameters

Name Description

user

Function:
Specifies information about a user.
Type
RegisteredUser
Accepted Values:
A valid RegisteredUser object.

Output

None.

Example

IWFAdminService svc = GetAdminService();

try
	{
    RegisteredUser user= new RegisteredUser();
    user.FullName = "Accountant";
    user.UserName = "DEMO\\Accountant";
    user.Department = "Accounts";
    user.EMailAddress = "accountant@DEMO.com";
    user.Locale = "en-US";
    svc.RegisterUser(user);
	}

catch (Exception ex)
	{
    Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
	}

Supported Versions

3.2.0.4 and higher