Milestone User in Smart Client Search plug-in

Hello,

I am currently developing a Search plug-in and want to check if they have permission to query data in my external system. Is there a way to access Smart Client’s logged-in user information?

My application uses OAuth2.0, does Milestone have anything available to integrate with this? If not, is there something I can do to query system users so that I can synchronize them with my application’s users?

We Milestone don’t use Oauth 2.0 but you can use LoginSettings class to get user information.

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_login_1_1_login_settings.html&tree=tree_search.html?search=loginsettings

The Chat sample uses the class so you can see how to use it –

https://doc.developer.milestonesys.com/html/index.html?base=samples/chat.html&tree=tree_1.html