Welcome Guest Search | Active Topics | Log In | Register

get user id Options · View
aalmog
#1 Posted : Tuesday, July 22, 2008 9:55:37 PM
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?
aalmog
#2 Posted : Friday, July 25, 2008 3:12:35 PM
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
test2005
#3 Posted : Saturday, August 09, 2008 11:34:21 AM

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.....

aalmog
#4 Posted : Wednesday, September 24, 2008 10:32:47 AM
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.
mdlesk
#5 Posted : Monday, November 10, 2008 12:27:34 AM
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
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.050 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET