Methods / Administrative Service |
Name | Type | Description |
---|---|---|
user | RegisteredUser | A RegisteredUser object that contains user information. |
IWFAdminService svc = GetAdminService(); try { RegisteredUser newUser= new RegisteredUser(); newUser.FullName = "Accountant"; newUser.UserName = "DEMO\\Accountant"; newUser.Department = "Accounts"; newUser.EMailAddress = "accountant@DEMO.com"; newUser.Locale = "en-US"; svc.RegisterUser(newUser); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }