Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help using UserInfo Object

Status
Not open for further replies.

jval1121

Programmer
Jan 16, 2002
2
US
Has anyone worked with the UserInfo object in CE? I'm trying to set a user's UserInfo.profileString value, however the value isn't sticking and I'm not recieving an error either. Below is a sample of the code:


Set UserStore = Sess.UserInfo
UserStore.ProfileString("Role") = "Approver"
Response.Write UserStore.ProfileString("Role")

The above code returns nothing.

But, if I write:

Response.Write UserStore.UserName


I get:
Johnetta


Does anyone know why this is?

Thanks,
Johnetta

 
The UserInfo Object is documented to be read only.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top