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 are different options to store state in ASP.NET applications?

2 Answers   Arctern,


What is the max size of textbox?

1 Answers  


how to call constructor in abstract class

2 Answers  


What is datagrid?

6 Answers   ABC, IQ,


what are the diffrences between windows application and windows service?

2 Answers  


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?

0 Answers  


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

0 Answers  


How to create a set up in vb.net for desktop application please say steps with examples?

0 Answers  


What is form and meaning?

0 Answers  


Are windows forms still used?

0 Answers  


what are the types of combo box?

2 Answers  


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

0 Answers  


Categories