Leadtools.Dicom.WCF Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RoleExists Method
See Also 
Leadtools.Dicom.WCF Namespace > DICOMService Class : RoleExists Method



roleName
A String representing the role name to check for.
extraData
User custom data.
roleName
A String representing the role name to check for.
extraData
User custom data.
Check if a role defined by the server.

Syntax

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

Parameters

roleName
A String representing the role name to check for.
extraData
User custom data.

Return Value

true if the role name is defined by the server; otherwise false.

Requirements

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

See Also

RoleExists requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features