Methods / Administrative Service |
Name | Type | Description |
---|---|---|
userName | string | A string that contains the user name for the user. This member must be a registered AgilePoint user. |
IWFAdminService svc = GetAdminService(); try { RegisteredUser registerUser = svc.GetRegisterUser("domain\\wilson.goodman"); Console.WriteLine("Name = '{0}', Department = '{1}'", registerUser.FullName, registerUser.Department); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); } //This example produces the following results: //Name = 'CFO' Department = 'Finance'