How can we get User with a Manual PTZ session?

Through Milestone XProtect Management Client we can get this table. Is it possible to get this value through Component integration?

Attachments:
image.png

I have found a way of getting it using SmartSearch example:

private String getUserPTZSession(Item item)

{

  RecorderCommandService rcs = new RecorderCommandService();

  Item recorderItem = item.GetParent();

  String recorderAddress = recorderItem.FQID.ServerId.ServerHostname;

  int recorderPort = recorderItem.FQID.ServerId.Serverport;

  String serverUri = String.Format("[http://{0}:{1}/RecorderCommandService/RecorderCommandService.asmx](http://%7B0%7D:%7B1%7D/RecorderCommandService/RecorderCommandService.asmx)", recorderAddress, recorderPort);

  rcs.Url = serverUri;

  LoginSettings ls = LoginSettingsCache.GetLoginSettings([EnvironmentManager.Instance.MasterSite.ServerId.Id](https://EnvironmentManager.Instance.MasterSite.ServerId.Id));

  PtzSessionInfo ptzSInfo = rcs.PTZGetSessionInfo(ls.Token, item.FQID.ObjectId);

  return ptzSInfo.User.DisplayName;

}

I removed my answer, that said you could not get this setting..

I am happy you found this solution and shared it.