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 do you apply specific formatting to the data inside the cells?

0 Answers   IBM,


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,


Which property value of the helpnavigator property will display the index for a specified topic?

0 Answers  


Which controls can not be placed in MDI ?

2 Answers  


To which namespace does the control class belong?

0 Answers  


What is form and its types?

0 Answers  


Which property of the errorprovider control automatically sets to the form to which?

0 Answers  


We are facing problem with the compatibilty of IE 7 and IE 6.We are calling a showModal window that is working fine in IE6 but with IE7 it opens a new Window and Data is not getting poputaled.In some pages it Gives an error "The webpage you are viewing is trying to Close the window.Do you want to close this window".

1 Answers   Wipro,


How do you customize the column content inside the datagrid?

2 Answers  


What is the use of form?

0 Answers  


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

0 Answers  


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

0 Answers  


Categories