Local Credential Class
Provides credentials 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 class LocalCredential : IEquatable<LocalCredential>VB
Public Class LocalCredential
Implements IEquatable(Of LocalCredential)C++
public ref class LocalCredential : IEquatable<LocalCredential^>F#
type LocalCredential =
class
interface IEquatable<LocalCredential>
end- Inheritance
- Object LocalCredential
- Implements
- IEquatableLocalCredential
Remarks
While the DomainCredential class can represent either a domain or local user account, this class can only represent a local user account.
Constructors
| LocalCredential | Creates a new instance of the LocalCredential class. |
Properties
| Group | Gets the group to which the user will be added. |
| Password | Gets the password of the account. |
| UserName | Gets the user name of the account. |
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 'user,password' or 'group:user,password'. |
Fields
| DefaultGroup | The group that users will be added to if no group is explicitly specified. |
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.