03-23-2021 06:10 PM
Hey Guys, I would like to check whether a user is external or not, right now fetching the user there doesn't seem to be an easy way to check whether the user is external or not from the User object. Are there any ways to do this with the Java client?
03-30-2021 12:33 PM
I think that the Java object you are looking for is a NuxeoPrincipal. Though it's not called external directly, there is a method called isAnonymous() which might be what you're looking for. If not that method, it's possible you can check the principal's groups and see if there is an external group (or maybe they are missing a user group)
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.