Hello,
I'm looking for a way to disable an end-user login, but the following does not seem to do it. I just get an exception thrown with message: "User is already not allowed to login".
client.getUserService().disableLogin(userId);
User is able to log in to MediaSpace instance, so I'm assuming this is referring to the KMC login. Is there any way to disable an end user? I would like to avoid deleting the user in case the same user comes back and we have to provision the user again. I've done some testing and it seems that the content will not be re-linked even if a new user is created with the same "userId". I assume it's just linking by the internal ID. So instead, I'd like to be able to just disable an end user.
Thanks,
Kumi