Leadtools.Dicom.WCF 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.WCF Namespace > DICOMService Class : AddUsersToRole Method



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

Syntax

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

Parameters

users
An array of strings representing the users which should be added to the specified roles.
roles
An array of strings representing the roles which the specified users should be members 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