<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7UgVSAVOkta Classic EngineIntegrationsAnswered2018-09-05T01:27:58.000Z2017-02-10T05:54:11.000Z2017-02-10T05:54:11.000Z
How to check if User has access to a given App with .NET SDK?
I've been looking at the AppUsersClient class, but there doesn't seem to be a way to check if there exists an AppUser for a given username/login.

 

AppUsersClient has a Get(AppUser appuser) method, but how are you supposed to get an instance of AppUser to pass it to this method if the point of calling Get() is to find out if the User in question has access to a given App instance?

 

I also tried calling AppUsersClient.GetList().Results.Where() with a Lambda expression, but there isn't an obvious property of AppUser to filter by. The most appropriate property seems to be AppUser.Profile.Login, but all properties of the Profile object are null.

This question is closed.
Loading
How to check if User has access to a given App with .NET SDK?