Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserPasswordInformation" /> class.
 /// </summary>
 /// <param name="CurrentPassword">The user&#39;s current password to be changed..</param>
 /// <param name="Email">The user&#39;s email address for the associated account..</param>
 /// <param name="ForgottenPasswordInfo">A complex element that has up to four Question/Answer pairs for forgotten password information..</param>
 /// <param name="NewPassword">The user&#39;s new password..</param>
 public UserPasswordInformation(string CurrentPassword = null, string Email = null, ForgottenPasswordInformation ForgottenPasswordInfo = null, string NewPassword = null)
 {
     this.CurrentPassword       = CurrentPassword;
     this.Email                 = Email;
     this.ForgottenPasswordInfo = ForgottenPasswordInfo;
     this.NewPassword           = NewPassword;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Users" /> class.
 /// </summary>
 /// <param name="AccountManagementGranular">Describes which account management capabilities a user has..</param>
 /// <param name="ActivationAccessCode">The activation code the new user must enter when activating their account..</param>
 /// <param name="CreatedDateTime">Indicates the date and time the item was created..</param>
 /// <param name="CustomSettings">The name/value pair information for the user custom setting..</param>
 /// <param name="Email">The user&#39;s email address..</param>
 /// <param name="EnableConnectForUser">Specifies whether the user is enabled for updates from DocuSign Connect. Valid values: true or false..</param>
 /// <param name="ErrorDetails">.</param>
 /// <param name="FirstName">The user&#39;s first name.  Maximum Length: 50 characters..</param>
 /// <param name="ForgottenPasswordInfo">A complex element that has up to four Question/Answer pairs for forgotten password information..</param>
 /// <param name="GroupList">A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId.   The parameters are:  * groupId - The DocuSign group ID for the group. * groupName - The name of the group * permissionProfileId - The ID of the permission profile associated with the group. * groupType - The group type. .</param>
 /// <param name="HomeAddress">The user&#39;s physical home address..</param>
 /// <param name="InitialsImageUri">Contains the URI for an endpoint that you can use to retrieve the initials image..</param>
 /// <param name="IsAdmin">Determines if the feature set is actively set as part of the plan..</param>
 /// <param name="LastLogin">The date-time when the user last logged on to the system..</param>
 /// <param name="LastName">The user&#39;s last name.  Maximum Length: 50 characters..</param>
 /// <param name="LoginStatus">Shows the current status of the user&#39;s password. Possible values are:   * password_reset * password_active * password_expired * password_locked * password_reset_failed  .</param>
 /// <param name="MiddleName">The user&#39;s middle name.  Limit: 50 characters..</param>
 /// <param name="Password">.</param>
 /// <param name="PasswordExpiration">If password expiration is enabled, the date-time when the user&#39;s password expires..</param>
 /// <param name="PermissionProfileId">.</param>
 /// <param name="PermissionProfileName">.</param>
 /// <param name="ProfileImageUri">.</param>
 /// <param name="SendActivationEmail">.</param>
 /// <param name="SendActivationOnInvalidLogin">When set to **true**, specifies that an additional activation email is sent to the user if they fail a log on before activating their account. .</param>
 /// <param name="SignatureImageUri">Contains the URI for an endpoint that you can use to retrieve the signature image..</param>
 /// <param name="SuffixName">The suffix for the user&#39;s name, such as Jr, IV, PhD, etc.  Limit: 50 characters. .</param>
 /// <param name="Title">Salutation for the user, such as Ms, Dr, Capt., etc.  Limit: 10 characters..</param>
 /// <param name="Uri">.</param>
 /// <param name="UserId">The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing..</param>
 /// <param name="UserName">The user&#39;s full name. &lt;!- - &#x60;title&#x60; + &#x60;firstName&#x60; + &#x60;middleName&#x60; + &#x60;lastName&#x60; + &#x60;suffixName&#x60; - -&gt;.</param>
 /// <param name="UserProfileLastModifiedDate">The date-time when the user&#39;s profile was last modified..</param>
 /// <param name="UserSettings">The collection of settings that  describes the actions a user can perform. See [User Settings][] for a list of available settings.   [user settings]: /esign/restapi/Users/Users/create/#user-settings.</param>
 /// <param name="UserStatus">Status of the user&#39;s account. One of:  * ActivationRequired * ActivationSent * Active * Closed * Disabled .</param>
 /// <param name="UserType">.</param>
 /// <param name="WorkAddress">The user&#39;s physical work address..</param>
 public Users(UserAccountManagementGranularInformation AccountManagementGranular = null, string ActivationAccessCode = null, string CreatedDateTime = null, List <NameValue> CustomSettings = null, string Email = null, string EnableConnectForUser = null, ErrorDetails ErrorDetails = null, string FirstName = null, ForgottenPasswordInformation ForgottenPasswordInfo = null, List <Group> GroupList = null, AddressInformationV2 HomeAddress = null, string InitialsImageUri = null, string IsAdmin = null, string LastLogin = null, string LastName = null, string LoginStatus = null, string MiddleName = null, string Password = null, string PasswordExpiration = null, string PermissionProfileId = null, string PermissionProfileName = null, string ProfileImageUri = null, string SendActivationEmail = null, string SendActivationOnInvalidLogin = null, string SignatureImageUri = null, string SuffixName = null, string Title = null, string Uri = null, string UserId = null, string UserName = null, string UserProfileLastModifiedDate = null, List <NameValue> UserSettings = null, string UserStatus = null, string UserType = null, AddressInformationV2 WorkAddress = null)
 {
     this.AccountManagementGranular = AccountManagementGranular;
     this.ActivationAccessCode      = ActivationAccessCode;
     this.CreatedDateTime           = CreatedDateTime;
     this.CustomSettings            = CustomSettings;
     this.Email = Email;
     this.EnableConnectForUser  = EnableConnectForUser;
     this.ErrorDetails          = ErrorDetails;
     this.FirstName             = FirstName;
     this.ForgottenPasswordInfo = ForgottenPasswordInfo;
     this.GroupList             = GroupList;
     this.HomeAddress           = HomeAddress;
     this.InitialsImageUri      = InitialsImageUri;
     this.IsAdmin                      = IsAdmin;
     this.LastLogin                    = LastLogin;
     this.LastName                     = LastName;
     this.LoginStatus                  = LoginStatus;
     this.MiddleName                   = MiddleName;
     this.Password                     = Password;
     this.PasswordExpiration           = PasswordExpiration;
     this.PermissionProfileId          = PermissionProfileId;
     this.PermissionProfileName        = PermissionProfileName;
     this.ProfileImageUri              = ProfileImageUri;
     this.SendActivationEmail          = SendActivationEmail;
     this.SendActivationOnInvalidLogin = SendActivationOnInvalidLogin;
     this.SignatureImageUri            = SignatureImageUri;
     this.SuffixName                   = SuffixName;
     this.Title    = Title;
     this.Uri      = Uri;
     this.UserId   = UserId;
     this.UserName = UserName;
     this.UserProfileLastModifiedDate = UserProfileLastModifiedDate;
     this.UserSettings = UserSettings;
     this.UserStatus   = UserStatus;
     this.UserType     = UserType;
     this.WorkAddress  = WorkAddress;
 }