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

How many system controls are available ?

1 Answers  


Which dialog box allows users to switch to another area of the application?

0 Answers  


What is the use of play() playlooping() functions?

0 Answers  


Tell a very common use of private constructor?

1 Answers   Arctern,


I have two combobox .. and i have some items in both combobox now i need to check the item in both combobox if same item is Present in both combobox i need to display that item in message box

9 Answers   CSS, Wipro,






What is the need of z-order method?

3 Answers   Accel,


how print PGL by XML

0 Answers   Bank Of America, Wipro,


For a server control, you need to have same properties like color maxlength, size, and allowed character throughout the application. How do you handle this?

1 Answers   Microsoft,


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

0 Answers  


What is the use of stretch property in Image control?

1 Answers  


Is typeform free?

0 Answers  


What are the different types of indexes in SQL Server?

3 Answers   Arctern,


Categories