Click or drag to resize

PushMessengerTMessengerSendToUsersT Method (T, String)


Sends a message containing an object to client side, only the CMS clients with login of specified users 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 SendToUsers<T>(
	T obj,
	string[] userIds = null
)
where T : class, new()

Parameters

obj
Type: T
The object to send out
userIds (Optional)
Type: SystemString
User id of the users, that will receive this message at client side

Type Parameters

T
Type of the object to send as message

Implements

IPushMessengerSendToUsersT(T, String)
Remarks
Client side can handle this message by creating function "serverRestMessage" on the hub object
See Also