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



command
The DbCommand to be initialized.
userName
The user name to be checked if it is an administrator.
command
The DbCommand to be initialized.
userName
The user name to be checked if it is an administrator.
Initializes a DbCommand to check if a user is administrator. (Inherited from WorkstationDataAccessAgent)

Syntax

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

Parameters

command
The DbCommand to be initialized.
userName
The user name to be checked if it is an administrator.

Remarks

Override this method to provide the database specific behavior for checking if a user is an administrator.

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