function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

visual force and sites

Hi Friends, We have customer portal and we want to capture logged in user information such as password .We are using default salesforce portal functionality. can somebody give an example of how to do it? Thanks, Trick


I don't think you'll be able to capture the password from a portal login page - that seems like it would be quite a security loophole if you could.  You can capture some information about the logged in user (e..g id, name).

Thanks Bob, I know I can retrieve rest of the information through userinfo().I do not need that information at the moment .I need something unique which is password.I wanted to exchange this password to some other system where it will be stored. Do u know if I can generate some unique string in salesforce and how.If I can do that then i do not need password. Thanks, Trick