LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetUserRole Method
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class : GetUserRole Method



id
Presentation Context ID of the Presentation Context for which to check the User Role. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.
id
Presentation Context ID of the Presentation Context for which to check the User Role. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.
Determines whether the User Role is supported for the specified Presentation Context of the DICOM Associate.

Syntax

Visual Basic (Declaration) 
Public Function GetUserRole( _
   ByVal id As Byte _
) As DicomRoleSupport
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim id As Byte
Dim value As DicomRoleSupport
 
value = instance.GetUserRole(id)
C# 
public DicomRoleSupport GetUserRole( 
   byte id
)
C++/CLI 
public:
DicomRoleSupport GetUserRole( 
   byte id
) 

Parameters

id
Presentation Context ID of the Presentation Context for which to check the User Role. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.

Example

For an example, refer to DicomAssociate.IsRoleSelect.

Remarks

Support for the User Role allows the Application Entity to act as an SCU for that Presentation Context.

To enable Role Selection, and to set the User and Provider Roles, call SetRoleSelect.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features