Product Documentation

GetLastSessionLogOnBreakdown

Jul 24, 2013

Gets the logon breakdown for User and Delivery Group. Returns the current User session, if one exists.

Parameter Name Type Required? Comments
userSid String Yes The ID of the user for whom information is being requested.
desktopGroupUid Guid Yes Delivery Group being queried.
machineUid String No The machine on which the last session was run. This may not be available.

Returns

An IQueryable of LogOnBreakdown objects that contain the following for each logon step:

Property Name Type Comments
LogonStepItems List<LogOnStepItem> List of LogOnStepItems. Each LogonStepItem has LogonStep (Values can be Brokering=1, VMStart=2, HDX=3, Authentication=4, Gpos=5, LogonScripts=6, ProfileLoad=7, Interactive=8, Total=0) and Duration (Nullable<double>) in milliseconds. If no data is available for the step, Duration is null.
BreakdownType int Type of breakdown - UsersLastSession=1, UsersSessionAverage=2, DesktopGroupAverage=3

Example

Get logon breakdown for User and Delivery Group. Returns the current User session if one exists.

http://{dc-host}/Citrix/Monitor/OData/v1/Methods/GetLastSessionLogOnBreakdown?userSid='User%20Sid'&desktopGroupUid=guid'28D15C1F-7D4C-43BC-BAF2-5886D8514642'&machineUid=guid'28D15C1F-7D4C-43BC-BAF2-5886D8514642'&$expand=LogOnStepItems