public sealed class ActiveDirectory : IMessage<ActiveDirectory>, IEquatable<ActiveDirectory>, IDeepCloneable<ActiveDirectory>, IBufferMessage, IMessage
Reference documentation and code samples for the NetApp v1 API class ActiveDirectory.
ActiveDirectory is the public representation of the active directory config.
Identifier. The resource name of the active directory.
Format:
projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eActiveDirectory\u003c/code\u003e class within the Google Cloud NetApp v1 API, outlining its structure, properties, and usage.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eActiveDirectory\u003c/code\u003e represents the public configuration for an active directory setup, with properties like \u003ccode\u003eDomain\u003c/code\u003e, \u003ccode\u003eDns\u003c/code\u003e, \u003ccode\u003eUsername\u003c/code\u003e, and \u003ccode\u003ePassword\u003c/code\u003e being required for setup.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods for managing user access and security settings, including the ability to add users to built-in administrator, backup operator, and security operator groups.\u003c/p\u003e\n"],["\u003cp\u003eThe API supports various security features, including AES encryption, encrypted traffic to Domain Controllers, and LDAP traffic signing.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation available, ranging from version 1.0.0 up to the latest version 1.8.0, showcasing updates and potential changes over time.\u003c/p\u003e\n"]]],[],null,["# NetApp v1 API - Class ActiveDirectory (1.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.9.0/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.8.0/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.7.0/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.6.0/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.5.0/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.4.0/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.3.0/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.2.0/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.1.0/Google.Cloud.NetApp.V1.ActiveDirectory)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.0.0/Google.Cloud.NetApp.V1.ActiveDirectory) \n\n public sealed class ActiveDirectory : IMessage\u003cActiveDirectory\u003e, IEquatable\u003cActiveDirectory\u003e, IDeepCloneable\u003cActiveDirectory\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the NetApp v1 API class ActiveDirectory.\n\nActiveDirectory is the public representation of the active directory config. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ActiveDirectory \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ActiveDirectory](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.ActiveDirectory), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ActiveDirectory](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.ActiveDirectory), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ActiveDirectory](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.ActiveDirectory), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.NetApp.V1](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetApp.V1.dll\n\nConstructors\n------------\n\n### ActiveDirectory()\n\n public ActiveDirectory()\n\n### ActiveDirectory(ActiveDirectory)\n\n public ActiveDirectory(ActiveDirectory other)\n\nProperties\n----------\n\n### ActiveDirectoryName\n\n public ActiveDirectoryName ActiveDirectoryName { get; set; }\n\n[ActiveDirectoryName](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.ActiveDirectoryName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.ActiveDirectory#Google_Cloud_NetApp_V1_ActiveDirectory_Name) resource name property.\n\n### Administrators\n\n public RepeatedField\u003cstring\u003e Administrators { get; }\n\nOptional. Users to be added to the Built-in Admininstrators group.\n\n### AesEncryption\n\n public bool AesEncryption { get; set; }\n\nIf enabled, AES encryption will be enabled for SMB communication.\n\n### BackupOperators\n\n public RepeatedField\u003cstring\u003e BackupOperators { get; }\n\nOptional. Users to be added to the Built-in Backup Operator active\ndirectory group.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Create time of the active directory.\n\n### Description\n\n public string Description { get; set; }\n\nDescription of the active directory.\n\n### Dns\n\n public string Dns { get; set; }\n\nRequired. Comma separated list of DNS server IP addresses for the Active\nDirectory domain.\n\n### Domain\n\n public string Domain { get; set; }\n\nRequired. Name of the Active Directory domain\n\n### EncryptDcConnections\n\n public bool EncryptDcConnections { get; set; }\n\nIf enabled, traffic between the SMB server to Domain Controller (DC) will\nbe encrypted.\n\n### KdcHostname\n\n public string KdcHostname { get; set; }\n\nName of the active directory machine. This optional parameter is used only\nwhile creating kerberos volume\n\n### KdcIp\n\n public string KdcIp { get; set; }\n\nKDC server IP address for the active directory machine.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nLabels for the active directory.\n\n### LdapSigning\n\n public bool LdapSigning { get; set; }\n\nSpecifies whether or not the LDAP traffic needs to be signed.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. The resource name of the active directory.\nFormat:\n`projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`.\n\n### NetBiosPrefix\n\n public string NetBiosPrefix { get; set; }\n\nRequired. NetBIOSPrefix is used as a prefix for SMB server name.\n\n### NfsUsersWithLdap\n\n public bool NfsUsersWithLdap { get; set; }\n\nIf enabled, will allow access to local users and LDAP users. If access is\nneeded for only LDAP users, it has to be disabled.\n\n### OrganizationalUnit\n\n public string OrganizationalUnit { get; set; }\n\nThe Organizational Unit (OU) within the Windows Active Directory the user\nbelongs to.\n\n### Password\n\n public string Password { get; set; }\n\nRequired. Password of the Active Directory domain administrator.\n\n### SecurityOperators\n\n public RepeatedField\u003cstring\u003e SecurityOperators { get; }\n\nOptional. Domain users to be given the SeSecurityPrivilege.\n\n### Site\n\n public string Site { get; set; }\n\nThe Active Directory site the service will limit Domain Controller\ndiscovery too.\n\n### State\n\n public ActiveDirectory.Types.State State { get; set; }\n\nOutput only. The state of the AD.\n\n### StateDetails\n\n public string StateDetails { get; set; }\n\nOutput only. The state details of the Active Directory.\n\n### Username\n\n public string Username { get; set; }\n\nRequired. Username of the Active Directory domain administrator."]]