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



userName
The user name to check.
userName
The user name to check.
Determines whether the user is an administrator. (Inherited from IWorkstationDataAccessAgent).

Syntax

Visual Basic (Declaration)  
Public Overridable Function IsAdmin( _
   ByVal userName As String _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As WorkstationDataAccessAgent
Dim userName As String
Dim value As Boolean
 
value = instance.IsAdmin(userName)
C#  
public virtual bool IsAdmin( 
   string userName
)
C++/CLI  
public:
virtual bool IsAdmin( 
   String^ userName
) 

Parameters

userName
The user name to check.

Return Value

True if the user is an administrator; otherwise it is false.

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