예제 #1
0
        /// <summary>
        /// Creates a new user in Birst.
        /// </summary>
        /// <param name="username">The name of the user to create.</param>
        /// <param name="password">The passowrd for the new user. If not provided it will automatically be x1xXx1Xx!.</param>
        /// <param name="email">The user's email adress.</param>
        public void CreateBirstUser(string username, string password, string email)
        {
            string options = string.Empty;

            if (!string.IsNullOrWhiteSpace(password))
            {
                options += "password="******" email=" + email;
            }

            _webService.addUser(LoginToken, username, options);
        }
예제 #2
0
 public void CreateUser(string token, string username, string additionalParameters)
 {
     _service.addUser(token, username, additionalParameters);
 }