PushMessengerTMessengerSendToUsers Method (String, String)
|
Sends a string message 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.6.308
Syntax public void SendToUsers(
string message,
string[] userIds = null
)
Public Sub SendToUsers (
message As String,
Optional userIds As String() = Nothing
)
public:
virtual void SendToUsers(
String^ message,
array<String^>^ userIds = nullptr
) sealed
abstract SendToUsers :
message : string *
?userIds : string[]
(* Defaults:
let _userIds = defaultArg userIds null
*)
-> unit
override SendToUsers :
message : string *
?userIds : string[]
(* Defaults:
let _userIds = defaultArg userIds null
*)
-> unit
Parameters
- message
- Type: SystemString
String message to send - userIds (Optional)
- Type: SystemString
User id of the users, that will receive this message at client side
Implements
IPushMessengerSendToUsers(String, String)Remarks Client side can handle this message by creating function "serverMessage" on the hub object
See Also