EMS.Services.TEMSInternalAPI.AddUsersToGroup

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AddUsersToGroup(const AGroupName: string;  const AUsers: TArray<string>): IEMSResourceResponseContent;

C++

_di_IEMSResourceResponseContent __fastcall AddUsersToGroup(const System::UnicodeString AGroupName, const System::DynamicArray<System::UnicodeString> AUsers);

Properties

Type Visibility Source Unit Parent
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services TEMSInternalAPI

Description

Adds one or more EMS Users to an existing EMS Group.

AddUsersToGroup updates the EMS Group data with the new EMS Users.

The AddUsersToGroup method receives the following parameters:

  • AGroupName: EMS Group name that identifies an existing EMS Group in the EMS Server.
  • AUsers: Array of EMS User usernames.

If the EMS Group name does not exist in the EMS Server, AddUsersToGroup raises the following exception: 'Group not found: <GroupName>'.

AddUsersToGroup returns an IEMSResourceResponseContent to read the response from the resource.

See Also