Leadtools.Dicom.WCF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
AddUsersToRole Method
See Also 
Leadtools.Dicom.WCF Namespace > IManageService 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.
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.
Adds users to the specified roles.

Syntax

Visual Basic (Declaration) 
<OperationContractAttribute()>
Sub AddUsersToRole( _
   ByVal users() As String, _
   ByVal roles() As String, _
   ByVal extraData As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As IManageService
Dim users() As String
Dim roles() As String
Dim extraData As String
 
instance.AddUsersToRole(users, roles, extraData)
C# 
[OperationContractAttribute()]
void AddUsersToRole( 
   string[] users,
   string[] roles,
   string extraData
)
C++/CLI 
[OperationContractAttribute()]
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: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also