What are different authentication types. How do you
retrieve user id in case of windows authentication?
Answer Posted / shilpa
to retrieve user id in case of windows authentication
if from a ASP.Net page following code
Dim username As String
username = User.Identity.Name
if it is from a class or business object following code
Dim User As System.Security.Principal.IPrincipal
User = System.Web.HttpContext.Current.User
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Explain how to find the current record position in data control?
How save rerecord in the database?
Explain the difference between listbox and combo box?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
Are windows forms still used?
What is form description?
Where to use new keyword other than create instance?
What is the difference between desktop application and windows application?
What is form application?
Name the two main categories of .net components.
How many types of dialog boxes windows provides?
Suppose I am implementing one windows form. I am inserting some values into ms access. In that table 5 columns there. But I want to insert three columns only. When I am clicking another button then other two values also insert into that table?
What is a database form?
Which method grants a lock on a resource?
How many navigational features are provided by visual studio.net ide?