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
Isaac GomolkaIsaac Gomolka 

Pull user info from inputted name

Hi everyone,
I could really use your help. I have a visualforce page that will have to have basically like a textbox that someone can type in the name of a User from the sandbox. Then my code will basically find that User that was inputted and pull a bunch of that user's information to use. So ideally it would save it as like an instance of an object or something so i can do usr.Name, usr.email, etc and pull info from that Usser he typed in. So how can I like type a name in or something and have my apex code find that user? Im assuming its probably like a SOQL statement or something. I just dont know how to get this to work. Any and all help would be sooo greatly appreciated. Thanks!