RE: Association of User to Application (Java SDK)

Hello,

I found a dated API that referenced a AppUserApiClient class that allowed one to associate a User with an Application, though it seems that this has been deprecated.

I see that there is another method to do something similar (below), though it involves an AppUser - unsure what this is or how an AppUser differs from a User…?

Application.assignUserToApplication(AppUser appUser)

Please let me know how I can associate a User with an Application, and thanks.

Research:

AppUsers are slightly different than regular users in the way that they are modeled in the API (and the features the represent). Take a look at: https://developer.okta.com/docs/api/resources/apps#application-user-operations

Also for an example (albeit in groovy) take a look at this:

NOTE: the links you included were references to a legacy version of the SDK.

This helped - thank you.
:+1:

1 Like