←Select platform

GetUserRole Method

Summary

Determines whether the User Role is supported for the specified Presentation Context of the DICOM Associate.

Syntax

C#
VB
C++
public DicomRoleSupport GetUserRole( 
   byte id 
) 
Public Function GetUserRole( _ 
   ByVal id As Byte _ 
) As Leadtools.Dicom.DicomRoleSupport 
public: 
Leadtools.Dicom.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.

Return Value

A value indicating whether the User Role is supported for the specified Presentation Context of the DICOM Associate.

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.

Example

For an example, refer to IsRoleSelect.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly