public DomainUser(
string? domain,
string userName
)Public Sub New (
domain As String,
userName As String
)public:
DomainUser(
String^ domain,
String^ userName
)new :
domain : string *
userName : string -> DomainUserIn some cases, setting domain to may represent a member of some default domain instead of a local account; if this is the case, it will be mentioned in the documentation for the property or method that uses this class.
| ArgumentNullException | userName is . |