GetUserDevices

Metreos.Native.CiscoExtensionMobility.GetUserDevices

Summary

Parses the results of the QueryUsers action to determine which devices, if any, the user is logged into.

Usage

Once the QueryUsers action has been used to determine which device(s) a user is logged into, this action can be further used to parse the results of individual users queried in the QueryUsers action.

The branch conditions must be incorporated into your script in order to correctly use this action. An explanation of the conditions are as follows:

HasDevices

HasDevices indicates that the specified Username is associated with one or more devices. This is the only branch path in which one should use the Devices result data parameter.

NoDevice

NoDevice indicates that the specified Username has no devices associated with it.

NoUser

NoUser indicates that the specified Username is not located in the QueryUserResults variable.

Remarks

This action does not communicate with the Extension Mobility service. It only parses the data returned by the QueryUsers action.

Action Parameters
Parameter Name.NET TypeDefaultDescription
Username *System.StringThe username to retrieve associated devices for. This username should have been at least one of the arguments in the Users action parameter in the QueryUsers action.
QueryUserResults *Metreos.Types.CiscoExtensionMobility.QueryUserResultsThe result from a QueryUsers action.
Result Data
Parameter Name.NET TypeDescription
DevicesSystem.Collections.Specialized.StringCollectionIf the branch condition is HasDevices, this result data parameter will be populated with those devices.

Branch Conditions 

failure

No description.

NoDevice

No description.

NoUser

No description.

HasDevices

No description.