You need to sign in to do that
Don't have an account?
Shruti Nigam
That operation is only allowed from within an active site
Hi i am trying to create user using method Site.createExternalUser(user, accountId, password) in trigger but whenever i try to run the code everytime i get the error That operation is only allowed from within an active site anyone know workaround for this.
Please got through the below blog,
https://developer.salesforce.com/forums/?id=906F0000000AUcTIAW
It might answer your query.
Thanks.