Changes

Activity:PushCriterionLogin (Activity)

1,802 bytes added, 10:44, 30 March 2015
Created page with "Adds a push criterion that restricts the push action to specific users. <!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!-- DO NOT REMOVE THIS --> = Description = {{A..."
Adds a push criterion that restricts the push action to specific users.

<!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!-- DO NOT REMOVE THIS -->

= Description =
{{ActivityInfoBox
| title = PushCriterionLogin
| name = PushCriterionLogin
| image =
| imagecaption = Activity PushCriterionLogin
| purpose = Restrict push action to specific user
| category = UBIK Push
| returns = true if successful
| version = 2.4.2+
}}

===Arguments===
{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| Login || [[Login]] || In || The user/login object to which the push action should be restricted to; this argument is mutually exclusive with the argument ''LoginUID''
|- align="left"
| LoginUID || {{Guid}} || In || The UID of the user/login to which the push action should be restricted to; this argument is mutually exclusive with the argument ''Login''
|- align="left"
| Result|| {{Boolean}} || Out || True if successful, false if an error occurred
|}

===Usage===
Use this criterion to restrict the hosting push action only to clients or devices where a specific user is logged in. All other clients or devices will not be notified about the push update.

=Example=
This example will send the hosting push action only to clients where the user/login with the configured UID (logins are instances of the MetaClass System.Main.UBIKSession.Login) is currently logged in.

{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| LoginUID || new System.Guid("20e3cb27-ab46-439d-a684-416539ba33d3")

|}

<!-- DO NOT REMOVE THIS -->{{Template:Activity/End}}<!-- DO NOT REMOVE THIS -->

==See also==
* [[Workflow Designer]]
* [[Activity:PushContent (Activity)|PushContent (Activity)]]

[[Category:Activities]]
[[Category:Push]]