Last post Nov 14, 2006 08:13 PM by shados
Nov 13, 2006 09:42 AM|drdexter33|LINK
Is there a way to find out info on a user using Request.LogonUserIdentity.Name?
For example if a user is coming into my web application, can I retrieve first name, email address properties from this object?
Nov 13, 2006 10:04 AM|shados|LINK
MembershipUser myuser = Membership
myuser then contains that information
Nov 13, 2006 11:08 AM|drdexter33|LINK
i'll give that a shot...
Nov 13, 2006 03:22 PM|drdexter33|LINK
MembershipUser doesn't seem to have a property exposed for name just email address.
Nov 13, 2006 04:30 PM|shados|LINK
I just tried it:
Label1.Text = myuser.Username;
it worked fine.
Nov 13, 2006 04:34 PM|shados|LINK
Nov 13, 2006 05:12 PM|drdexter33|LINK
Nov 14, 2006 11:29 AM|drdexter33|LINK
so how do i do what i need to do using windows auth?
Nov 14, 2006 08:13 PM|shados|LINK
Sorry, i'm not faliar with windows auth... but because I was mistaken and replied to your post, I have a feeling some people will think it is already resolved...
Would the following do what you want?
Method 1 and 2 seems the most promising.