public DomainUser(
string userName
)Public Sub New (
userName As String
)public:
DomainUser(
String^ userName
)new :
userName : string -> DomainUserIn some cases, not specifying a domain name 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 . |