Back to API Home

Initializes a new instance of the LocalUserAccount class.

Namespace: Dundas.Dashboard.Administration
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public LocalUserAccount(
	string userName,
	string password,
	string firstName,
	string lastName,
	string email,
	bool passwordExpired,
	bool canChangePassword,
	bool enabled
)
Visual Basic
Public Sub New ( 
	userName As String,
	password As String,
	firstName As String,
	lastName As String,
	email As String,
	passwordExpired As Boolean,
	canChangePassword As Boolean,
	enabled As Boolean
)

Parameters

userName
Type: System..::..String
The user's username.
password
Type: System..::..String
The user's unencrypted password.
firstName
Type: System..::..String
The user's first name.
lastName
Type: System..::..String
The user's last name.
email
Type: System..::..String
The user's email address.
passwordExpired
Type: System..::..Boolean
Flag indicating whether the user's password has expired.
canChangePassword
Type: System..::..Boolean
Flag indicating whether the user is permitted to change their own password.
enabled
Type: System..::..Boolean
A flag specifying whether the account is enabled for use.

See Also