What are different authentication types. How do you
retrieve user id in case of windows authentication?
Answers were Sorted based on User's Feedback
Answer / lakal govind.
There are mainly three types of authentication types in
.NET. These are
i) Forms Authentication.
ii) Windows Authentication.
iii)Passport Authentication.
| Is This Answer Correct ? | 28 Yes | 6 No |
Answer / 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 |
Answer / sheik
Windows Authentication
2. IIS Authentication.
3. Forms Authentication.
4. Passport Authentication.
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / pranabjyoti saikia
Different types windows authentications are
1. Windows Authentication
2. IIS Authentication.
3. Forms Authentication.
4. Passport Authentication.
| Is This Answer Correct ? | 7 Yes | 4 No |
Answer / sesu
Two types of authentications.
1. Windows Authentication
2. Mixed Authentication
| Is This Answer Correct ? | 2 Yes | 21 No |
What is the use of stretch property in Image control?
how can u split a column header in gridview using C#.net
What is the difference between the add() and insert() methods of a listbox control?
What is the max size of textbox?
Which Isolation level is helps to read uncommitted data?
What is form and its uses?
What is a windows form application?
How is anchoring different from docking?
Clear property is available in which control?
What is the extension of a compiled help project file?
Which is the global event handler for unhandled exceptions in an ASP.NET applications?
How to use the FindControl() function to preselect an item in my dropdownlist?