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



adminUser
The administrator's who is removing the user.
adminPassword
The administrator's password.
userName
The user name which will be removed.
adminUser
The administrator's who is removing the user.
adminPassword
The administrator's password.
userName
The user name which will be removed.
Removes an existing user from the database. (Inherited from IWorkstationDataAccessAgent).

Syntax

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

Parameters

adminUser
The administrator's who is removing the user.
adminPassword
The administrator's password.
userName
The user name which will be removed.

Return Value

True if the user is removed; 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