Leadtools.Medical.Workstation.DataAccessLayer Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
InitializeAddUserCommand Method
See Also 
Leadtools.Medical.Workstation.DataAccessLayer Namespace > WorkstationDataAccessAgent Class : InitializeAddUserCommand Method



command
The DbCommand to be initialized.
userName
The user's name to be inserted in the database.
password
A hashed String representing the user's password to insert.
isAdmin
A Boolean value indicating if the user administrator or not.
command
The DbCommand to be initialized.
userName
The user's name to be inserted in the database.
password
A hashed String representing the user's password to insert.
isAdmin
A Boolean value indicating if the user administrator or not.
Initializes a DbCommand to insert a user in the database.

Syntax

Visual Basic (Declaration)  
Protected Overridable MustOverride Sub InitializeAddUserCommand( _
   ByVal command As DbCommand, _
   ByVal userName As String, _
   ByVal password As String, _
   ByVal isAdmin As Boolean _
) 
Visual Basic (Usage) Copy Code
Dim instance As WorkstationDataAccessAgent
Dim command As DbCommand
Dim userName As String
Dim password As String
Dim isAdmin As Boolean
 
instance.InitializeAddUserCommand(command, userName, password, isAdmin)
C#  
protected virtual abstract void InitializeAddUserCommand( 
   DbCommand command,
   string userName,
   string password,
   bool isAdmin
)
C++/CLI  
protected:
virtual abstract void InitializeAddUserCommand( 
   DbCommand command,
   String^ userName,
   String^ password,
   bool isAdmin
) 

Parameters

command
The DbCommand to be initialized.
userName
The user's name to be inserted in the database.
password
A hashed String representing the user's password to insert.
isAdmin
A Boolean value indicating if the user administrator or not.

Remarks

Override this method to provide the database specific behavior for adding a user.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Medical.Workstation.DataAccessLayer requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features