←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 DicomRoleSupport 
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.

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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly