-3

Site.createPortalUser call is available in apex everywhere or we can only use it inside SiteRegisterController.cls?

0

1 Answer 1

3

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites.htm

These are Site classes and you can use outside SiteRegisterController and in any apex class.You need not have this in only SiteRegisterController.cls .

SiteRegisterController.cls this is just an example class from salesforce which is for reference .You can make your own apex class and have Site classes.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .