Exemplo n.º 1
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">Specifies the fallback id mapping info which is used when an ID mapping for a user is not found via the above IdMappingInfo. Only supported for two types of fallback mapping types - &#39;kRid&#39; and &#39;kFixed&#39;..</param>
 /// <param name="machineAccounts">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="unixRootSid">Specifies the SID of the Active Directory domain user to be mapped to Unix root user..</param>
 /// <param name="userIdMappingInfo">Specifies the information about how the Unix and Windows users are mapped for this domain..</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> machineAccounts = default(List <string>), string ouName = default(string), string password = default(string), string unixRootSid = default(string), UserIdMapping userIdMappingInfo = default(UserIdMapping), string userName = default(string), string workgroup = default(string))
 {
     this.DomainName = domainName;
     this.FallbackUserIdMappingInfo = fallbackUserIdMappingInfo;
     this.MachineAccounts           = machineAccounts;
     this.OuName            = ouName;
     this.Password          = password;
     this.UnixRootSid       = unixRootSid;
     this.UserIdMappingInfo = userIdMappingInfo;
     this.UserName          = userName;
     this.Workgroup         = workgroup;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IdMappingInfo" /> class.
 /// </summary>
 /// <param name="fallbackUserIdMappingInfo">Specifies the fallback id mapping info which is used when an ID mapping for a user is not found via the above IdMappingInfo. Only supported for two types of fallback mapping types - &#39;kRid&#39; and &#39;kFixed&#39;..</param>
 /// <param name="unixRootSid">Specifies the SID of the Active Directory domain user to be mapped to Unix root user..</param>
 /// <param name="userIdMappingInfo">Specifies the information about how the Unix and Windows users are mapped for this domain..</param>
 public IdMappingInfo(UserIdMapping fallbackUserIdMappingInfo = default(UserIdMapping), string unixRootSid = default(string), UserIdMapping userIdMappingInfo = default(UserIdMapping))
 {
     this.FallbackUserIdMappingInfo = fallbackUserIdMappingInfo;
     this.UnixRootSid       = unixRootSid;
     this.UserIdMappingInfo = userIdMappingInfo;
 }