Domain User Class
Represents a domain or local user.
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 class DomainUser : IEquatable<DomainUser>VB
Public Class DomainUser
Implements IEquatable(Of DomainUser)C++
public ref class DomainUser : IEquatable<DomainUser^>F#
type DomainUser =
class
interface IEquatable<DomainUser>
end- Inheritance
- Object DomainUser
- Implements
- IEquatableDomainUser
Remarks
This class typically represents a local user account if the Domain property is .
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.
Constructors
| DomainUser(String) | Initializes a new instance of the DomainUser class for a local user account. |
| DomainUser(String, String) | Initializes a new instance of the DomainUser class. |
Properties
Methods
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Parse | Parses the domain and user name from a string in the form 'domain\user' or just 'user'. |
| ToString |
Gets a string representation of the current DomainUser.
(Overrides ObjectToString) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.