Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IdMappingInfo" /> class.
 /// </summary>
 /// <param name="fallbackUserIdMappingInfo">fallbackUserIdMappingInfo.</param>
 /// <param name="unixRootSid">Specifies the SID of the Active Directory domain user to be mapped to Unix root user..</param>
 /// <param name="userIdMappingInfo">userIdMappingInfo.</param>
 public IdMappingInfo(UserIdMapping fallbackUserIdMappingInfo = default(UserIdMapping), string unixRootSid = default(string), UserIdMapping userIdMappingInfo = default(UserIdMapping))
 {
     this.UnixRootSid = unixRootSid;
     this.FallbackUserIdMappingInfo = fallbackUserIdMappingInfo;
     this.UnixRootSid       = unixRootSid;
     this.UserIdMappingInfo = userIdMappingInfo;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ActiveDirectoryEntry" /> class.
 /// </summary>
 /// <param name="domainName">Specifies the fully qualified domain name (FQDN) of an Active Directory..</param>
 /// <param name="fallbackUserIdMappingInfo">fallbackUserIdMappingInfo.</param>
 /// <param name="ignoredTrustedDomains">Specifies the list of trusted domains that were set by the user to be ignored during trusted domain discovery..</param>
 /// <param name="ldapProviderId">Specifies the LDAP provider id which is map to this Active Directory.</param>
 /// <param name="machineAccounts">Array of Machine Accounts.  Specifies an array of computer names used to identify the Cohesity Cluster on the domain..</param>
 /// <param name="ouName">Specifies an optional Organizational Unit name..</param>
 /// <param name="password">Specifies the password for the specified userName..</param>
 /// <param name="preferredDomainControllers">Specifies Map of Active Directory domain names to its preferred domain controllers..</param>
 /// <param name="taskPath">Specifies the task path for AD joining task..</param>
 /// <param name="tenantId">Specifies the unique id of the tenant..</param>
 /// <param name="trustedDomainsEnabled">Specifies whether Trusted Domain discovery is disabled..</param>
 /// <param name="unixRootSid">Specifies the SID of the Active Directory domain user to be mapped to Unix root user..</param>
 /// <param name="userIdMappingInfo">userIdMappingInfo.</param>
 /// <param name="userName">Specifies a userName that has administrative privileges in the domain..</param>
 /// <param name="workgroup">Specifies an optional Workgroup name..</param>
 public ActiveDirectoryEntry(string domainName = default(string), UserIdMapping fallbackUserIdMappingInfo = default(UserIdMapping), List <string> ignoredTrustedDomains = default(List <string>), long?ldapProviderId = default(long?), List <string> machineAccounts = default(List <string>), string ouName = default(string), string password = default(string), List <PreferredDomainController> preferredDomainControllers = default(List <PreferredDomainController>), string taskPath = default(string), string tenantId = default(string), bool?trustedDomainsEnabled = default(bool?), string unixRootSid = default(string), UserIdMapping userIdMappingInfo = default(UserIdMapping), string userName = default(string), string workgroup = default(string))
 {
     this.DomainName            = domainName;
     this.IgnoredTrustedDomains = ignoredTrustedDomains;
     this.LdapProviderId        = ldapProviderId;
     this.MachineAccounts       = machineAccounts;
     this.OuName   = ouName;
     this.Password = password;
     this.PreferredDomainControllers = preferredDomainControllers;
     this.TaskPath = taskPath;
     this.TenantId = tenantId;
     this.TrustedDomainsEnabled = trustedDomainsEnabled;
     this.UnixRootSid           = unixRootSid;
     this.UserName   = userName;
     this.Workgroup  = workgroup;
     this.DomainName = domainName;
     this.FallbackUserIdMappingInfo = fallbackUserIdMappingInfo;
     this.IgnoredTrustedDomains     = ignoredTrustedDomains;
     this.LdapProviderId            = ldapProviderId;
     this.MachineAccounts           = machineAccounts;
     this.OuName   = ouName;
     this.Password = password;
     this.PreferredDomainControllers = preferredDomainControllers;
     this.TaskPath = taskPath;
     this.TenantId = tenantId;
     this.TrustedDomainsEnabled = trustedDomainsEnabled;
     this.UnixRootSid           = unixRootSid;
     this.UserIdMappingInfo     = userIdMappingInfo;
     this.UserName  = userName;
     this.Workgroup = workgroup;
 }