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
What is form technology?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
What are the properties of datacontrol?
What are windows based applications examples?
Is windows an application software?
Which property of the progressbar control specifies the amount to increment the current value of the control?
how barcode print on the win form
How do I change the console application in windows?
which property is used to change to some value to access a identity column in datacontrols?
What is a windows form application?
How is anchoring different from docking?
Which window displays messages for the status of various features provided in the visual studio .net ide?
What is an example of form?
How to use the FindControl() function to preselect an item in my dropdownlist?
What is a fillable form?