PushMessengerTMessengerSendToGroups Method (String, IUserGroup)
|
Sends a string message to client side, only the CMS clients with login user as member of the specified user groups, will receive this message
Namespace:
Ingeniux.CMS.Models.Messaging
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax public void SendToGroups(
string message,
IUserGroup[] groups = null
)
Public Sub SendToGroups (
message As String,
Optional groups As IUserGroup() = Nothing
)
public:
virtual void SendToGroups(
String^ message,
array<IUserGroup^>^ groups = nullptr
) sealed
abstract SendToGroups :
message : string *
?groups : IUserGroup[]
(* Defaults:
let _groups = defaultArg groups null
*)
-> unit
override SendToGroups :
message : string *
?groups : IUserGroup[]
(* Defaults:
let _groups = defaultArg groups null
*)
-> unit
Parameters
- message
- Type: SystemString
String message to send - groups (Optional)
- Type: Ingeniux.CMSIUserGroup
Groups that will receive this message at client side
Implements
IPushMessengerSendToGroups(String, IUserGroup)Remarks Client side can handle this message by creating function "serverMessage" on the hub object
See Also