Domain UserTo String Method
Gets a string representation of the current DomainUser.
Definition
Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
If the Domain property is not , a string in the format "domain\user"; otherwise, the value of the UserName property.
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public override string ToString()VB
Public Overrides Function ToString As StringC++
public:
virtual String^ ToString() overrideF#
abstract ToString : unit -> string
override ToString : unit -> string Return Value
StringIf the Domain property is not , a string in the format "domain\user"; otherwise, the value of the UserName property.