What are different authentication types. How do you
retrieve user id in case of windows authentication?

Answers were Sorted based on User's Feedback



What are different authentication types. How do you retrieve user id in case of windows authentica..

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

What are different authentication types. How do you retrieve user id in case of windows authentica..

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

What are different authentication types. How do you retrieve user id in case of windows authentica..

Answer / sheik

Windows Authentication
2. IIS Authentication.
3. Forms Authentication.
4. Passport Authentication.

Is This Answer Correct ?    7 Yes 2 No

What are different authentication types. How do you retrieve user id in case of windows authentica..

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

What are different authentication types. How do you retrieve user id in case of windows authentica..

Answer / sesu

Two types of authentications.

1. Windows Authentication
2. Mixed Authentication

Is This Answer Correct ?    2 Yes 21 No

Post New Answer

More Dot Net WindowsForms Interview Questions

what is acomponent in windows applications?

2 Answers  


Name the property which is used to specify the source from where the crystal reports would be accessed.

0 Answers  


What is the default property of data control?

2 Answers   Wipro,


What are windows based applications examples?

0 Answers  


What is the difference between the add() and insert() methods of a listbox control?

0 Answers  






How many number of events does the Timer controls ?

5 Answers  


Which command prompt utility is used to convert a resource file from the text format into the binary format?

0 Answers  


how can u split a column header in gridview using C#.net

2 Answers   IBM,


Which method of the messagebox class is used to display a message in the message box?

0 Answers  


What are the different types of indexes in SQL Server?

3 Answers   Arctern,


Hi, 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. please help me

3 Answers   Satyam,


How to split a column header in gridview using c#.net?

0 Answers  


Categories