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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a custom Principal (or something)

Status
Not open for further replies.

hads

Technical User
Nov 12, 2001
257
AU
Hi all,

Wondering if anyone can shed any light on this...

I have an app that uses roles based security and it seems to be working pretty well, but I need to work with users email address etc throughout the site.

I could use Session variables but since I am already using forms based authentication and thus cookies it can have issues where the session times out and the authentication doesn't. So I am thinking the Identity;

i.e. You know how you can use User.Identity.Name, I want to add User.Identity.Emailadd or something

I think its something to do with IPrincipal or IIdentity but thats about as much as I know.

If anyone has any ideas they would be most appreciated.

Cheers,

hads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top