Jump to content

get sessions - ControllableByUserId


Recommended Posts

Posted

In the next dev build this param will be added to the /Sessions url. Right now it is a placeholder and does not do anything, but it will. if you supply a user id, it will filter the sessions by those that your user is allowed to control.

Posted

This will make thing so much easier, Thank you luke.

 

Right Now I have to loop through users, then compare the "user.Id" with "session.UserId".

 

Then I also compare the "session.device.Name" with a device name the user has chosen as a "default control device" , and then I check the "session.Client.Name" with the "default client name" the user chosen as well.

 

This will make things faster I am sure of that.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...