INotificationManagerAdd Method (String, String, Boolean)
|
Adds a new Notification, to collection of Users, by by specifying either
User ids or Group ids/
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax INotification Add(
string message,
string[] recipientIds,
bool recipientsAreGrps = false
)
Function Add (
message As String,
recipientIds As String(),
Optional recipientsAreGrps As Boolean = false
) As INotification
INotification^ Add(
String^ message,
array<String^>^ recipientIds,
bool recipientsAreGrps = false
)
abstract Add :
message : string *
recipientIds : string[] *
?recipientsAreGrps : bool
(* Defaults:
let _recipientsAreGrps = defaultArg recipientsAreGrps false
*)
-> INotification
Parameters
- message
- Type: SystemString
Message of the notification - recipientIds
- Type: SystemString
Ids of recipients, could be either User ids or Group ids - recipientsAreGrps (Optional)
- Type: SystemBoolean
Whether the list of recipient ids are user ids or group ids
Return Value
Type:
INotificationNewly added notification
See Also