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



command
The DbCommand to be initialized.
userName
The user name to be updated.
isAdmin
A Boolean value indicating the value to be updated for the user.
command
The DbCommand to be initialized.
userName
The user name to be updated.
isAdmin
A Boolean value indicating the value to be updated for the user.
Initializes a DbCommand to update a user administration state. (Inherited from WorkstationDataAccessAgent)

Syntax

Visual Basic (Declaration)  
Overrides Protected Sub InitializeSetAdminUserCommand( _
   ByVal command As DbCommand, _
   ByVal userName As String, _
   ByVal isAdmin As Boolean _
) 
Visual Basic (Usage) Copy Code
Dim instance As WorkstationSqlDataAccessAgent
Dim command As DbCommand
Dim userName As String
Dim isAdmin As Boolean
 
instance.InitializeSetAdminUserCommand(command, userName, isAdmin)
C#  
protected override void InitializeSetAdminUserCommand( 
   DbCommand command,
   string userName,
   bool isAdmin
)
C++/CLI  
protected:
void InitializeSetAdminUserCommand( 
   DbCommand command,
   String^ userName,
   bool isAdmin
) override 

Parameters

command
The DbCommand to be initialized.
userName
The user name to be updated.
isAdmin
A Boolean value indicating the value to be updated for the user.

Remarks

Override this method to provide the database specific behavior for updating the administration state for 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