Domain User(String) Constructor
Initializes a new instance of the DomainUser class for a local user account.
Definition
Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public DomainUser(
string userName
)VB
Public Sub New (
userName As String
)C++
public:
DomainUser(
String^ userName
)F#
new :
userName : string -> DomainUserParameters
- userName String
- The account user name.
Remarks
In 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.
Exceptions
| ArgumentNullException | userName is . |