Leadtools.Dicom.Services Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AddUsersToRole Method
See Also 
Leadtools.Dicom.Services Namespace > IDICOMManage Interface : AddUsersToRole Method



users
An array of strings represetning the users which should be added to the specified roles.
roles
An array of strings represetning the roles which the specified users should be memebers in.
extraData
User custom data.
Add users to the specified roles.

Syntax

Visual Basic (Declaration) 
Overridable Sub AddUsersToRole( _
   ByVal users() As String, _
   ByVal roles() As String, _
   ByVal extraData As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As IDICOMManage
Dim users() As String
Dim roles() As String
Dim extraData As String
 
instance.AddUsersToRole(users, roles, extraData)
C# 
virtual void AddUsersToRole( 
   string[] users,
   string[] roles,
   string extraData
)
C++/CLI 
virtual void AddUsersToRole( 
   array<String^>^ users,
   array<String^>^ roles,
   String^ extraData
) 

Parameters

users
An array of strings represetning the users which should be added to the specified roles.
roles
An array of strings represetning the roles which the specified users should be memebers in.
extraData
User custom data.

Requirements

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

See Also

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