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 are windows applications?
What is form and meaning?
What are the forms of database?
What are windows based applications examples?
What is the full form of gac?
Which method grants a lock on a resource?
What is form design?
What are the components of gui for windows?
What is a database form?
How can you pause a timer control?
What is the extension of the windows installer file?
What is formdata?
What is a windows forms application?
What is the extension of a compiled help project file?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?