Page 1 of 1

ModifyUserSession Vs ModifyUserSessionProperties

Posted: May 5th, 2022, 7:42 am
by AkshayKhanolkar
I was working on the 'Set User Address Properties' method. In this method, I update the EPusers table for logins and update the user session for impersonators. In the Impersonator path, I noticed 5 ModifyUserSession services. I was able to consolidate these into a single ModifyUserSessionProperties service. There is a required UserAuthorizationType field on this service. What is the difference between these services? and why is the UserAuthType required in the latter?
image.png
image.png (12.8 KiB) Viewed 1182 times
image.png
image.png (12.8 KiB) Viewed 1182 times
image.png

Re: ModifyUserSession Vs ModifyUserSessionProperties

Posted: May 5th, 2022, 8:20 am
by SteveCap
ModifyUserSession only allows you to edit one property at a time. ModifyUserSessionProperties allows you to do as many as you want. The service is typically used for impersonation which usually requires and authorization change so this service takes it in to make the setup a little easier.

Re: ModifyUserSession Vs ModifyUserSessionProperties

Posted: May 18th, 2022, 2:00 pm
by AkshayKhanolkar
Is there a way to create another service that is just to generally set user session properties and not have to set the UserAuthType?

Re: ModifyUserSession Vs ModifyUserSessionProperties

Posted: June 8th, 2022, 10:26 am
by JustinVanRegenmorter
Task 10508 has been created to remove the required flag for the UserAuthorizationType node on the ModifyUserSessionProperties service.

Re: ModifyUserSession Vs ModifyUserSessionProperties

Posted: June 8th, 2022, 10:28 am
by JustinVanRegenmorter
This issue has been resolved as of DesignTime Revision 2311.