DomainJoinCredentials Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the values to use to join the virtual machine to the domain.
public class DomainJoinCredentials
type DomainJoinCredentials = class
Public Class DomainJoinCredentials
- Inheritance
-
DomainJoinCredentials
Constructors
DomainJoinCredentials() |
Initializes a new instance of the DomainJoinCredentials class. |
DomainJoinCredentials(String, String) |
Initializes a new instance of the DomainJoinCredentials class with required arguments. |
Properties
Domain |
Optional. Specifies the name of the domain used to authenticate an account. The value is a fully qualified DNS domain. If the domains name is not specified, Username must specify the user principal name (UPN) format (user@fully-qualified-DNS-domain) or the fully-qualified-DNS-domain\username format. Example: example.com. |
Password |
Required. Specifies the password to use to join the domain. |
UserName |
Required. Specifies a user name in the domain that can be used to join the domain. |