0

I would like to know what would happen if I try to create a Community user through Apex but I have already used all of my Licenses. What would be the result/error?

1
  • Why don't you try it out in a sandbox or dev org? Jul 25, 2017 at 11:52

1 Answer 1

2

You should get a DmlException that would have a status code of LICENSE_LIMIT_EXCEEDED. You should be able to try-catch this exception like all normal exceptions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.