Hi,
I am developing an intranet app which can exposes the records to the users based on their windows credential. To accomplish that, I have an extra column in the table to store the name of the authorized user. In the aspx page, I then validate the username of the user who logged in against the name which is stored in the db. If they are the same, the user will then be allowed to view its content. The following is a segment of my code:
1 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
2
3 Dim wiUser As WindowsIdentity = WindowsIdentity.GetCurrent()
4
5 ...
Go to the complete details ...