views:

18

answers:

1

I am building an app where i need to request user name and enter it into the database along with some other fields.

Is there an easy way to request a username using vb.net?

ie username = 'Home/JimJones'

+1  A: 

You can see what domain/username the person accessing your site with is using by looking at User.Identity.Name

Here is info on the HttpContext.User Property

zeroef
is tehre a way to do this in sql server?
will
@will - I'm not sure how to pull this information from SQL Server. But most likely you would send the user name in your request to the sql server instead of pulling it from the SQL Server itself.
zeroef