|
|
Rank: Member
Joined: 7/16/2008 Posts: 12 Location: Israel
|
I would like to get current user id which logged in. which class should I use?
|
|
|
Rank: Member
Joined: 7/16/2008 Posts: 12 Location: Israel
|
Help!!!! What api should I use to get the user name? aalmog www.excel-land.com
|
|
|
 Rank: YAF MVP

Joined: 2/12/2005 Posts: 927 Location: Italy
|
Not sure what it is in C#, but I use HttpContext.Current.User.Identity.Name.ToString in VB. I'm sure it's very similar. HTH .....the man in black fled across the desert..........and the gunslinger followed.....
|
|
|
Rank: Member
Joined: 7/16/2008 Posts: 12 Location: Israel
|
thank you, but I ment to the forum user and not to the system user. I got it by now, but I still have some problems to load it to the main page.
|
|
|
Rank: Advanced Member
Joined: 11/6/2008 Posts: 36 Location: Columbia, SC
|
The best way is to use Membership.GetUser();
|
|
|
| Users browsing this topic |
|
Guest
|
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC2 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.057 seconds.