473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Windows Authentication through Active Directory

Hi there, Please help me..It is urgent
This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.

I am able to display Win Authentication Pop up by using
Authentication mode="Windows" and in Authrization tag,
deny user="?" and setting Win Integrated authentication in
IIS.

But I am not able to take user's info from Win
Authenication Pop-up Windows..as I used server variable
AUTH_USER and got userId. but when I use AUTH_PASSWORD I
am getting null value...

Can some one tell me how to get password and domain fields
value form Windows Authenticaion Box....

If this is not posible ... how can I make a search without
password and domain..in Active directory ....

I copy my code for retrieving user info form Active
Directory. Please help me..It is urgent.

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String, ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username

Private path As String
= "LDAP://AD/DC=AD,DC=SOLVERSA,DC=COM"
Dim entry As New DirectoryEntry(path,
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
'Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails
Nov 20 '05 #1
10 4014
Hi Hriday,

I use "IsInRole" to find these pages on MSDN, can you use this as a start
place to check if this can help you?

Cor

This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.

I am able to display Win Authentication Pop up by using
Authentication mode="Windows" and in Authrization tag,
deny user="?" and setting Win Integrated authentication in
IIS.

But I am not able to take user's info from Win
Authenication Pop-up Windows..as I used server variable
AUTH_USER and got userId. but when I use AUTH_PASSWORD I
am getting null value...

Can some one tell me how to get password and domain fields
value form Windows Authenticaion Box....

If this is not posible ... how can I make a search without
password and domain..in Active directory ....

I copy my code for retrieving user info form Active
Directory. Please help me..It is urgent.

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String, ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username

Private path As String
= "LDAP://AD/DC=AD,DC=SOLVERSA,DC=COM"
Dim entry As New DirectoryEntry(path,
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
'Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails

Nov 20 '05 #2
Hi Hriday,

I use "IsInRole" to find these pages on MSDN, can you use this as a start
place to check if this can help you?

Cor

This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.

I am able to display Win Authentication Pop up by using
Authentication mode="Windows" and in Authrization tag,
deny user="?" and setting Win Integrated authentication in
IIS.

But I am not able to take user's info from Win
Authenication Pop-up Windows..as I used server variable
AUTH_USER and got userId. but when I use AUTH_PASSWORD I
am getting null value...

Can some one tell me how to get password and domain fields
value form Windows Authenticaion Box....

If this is not posible ... how can I make a search without
password and domain..in Active directory ....

I copy my code for retrieving user info form Active
Directory. Please help me..It is urgent.

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String, ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username

Private path As String
= "LDAP://AD/DC=AD,DC=SOLVERSA,DC=COM"
Dim entry As New DirectoryEntry(path,
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
'Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails

Nov 20 '05 #3
On Thu, 24 Jun 2004 23:08:12 -0700, "Hriday" <hr********@yahoo.com> wrote:

¤ Hi there, Please help me..It is urgent
¤
¤
¤ This is Hriday, working on windows authentication with
¤ Active Directory...
¤ My requirment is when a user sends a request to my web
¤ Applicatoin I want to Pop up windows Authentication box so
¤ that user will give his userId, Password & domain name for
¤ authenticaion. After that I want to take these three info
¤ of user and make a search in Active Directory.
¤
¤ I am able to display Win Authentication Pop up by using
¤ Authentication mode="Windows" and in Authrization tag,
¤ deny user="?" and setting Win Integrated authentication in
¤ IIS.
¤
¤ But I am not able to take user's info from Win
¤ Authenication Pop-up Windows..as I used server variable
¤ AUTH_USER and got userId. but when I use AUTH_PASSWORD I
¤ am getting null value...

You cannot obtain the password from the login dialog when using integrated Windows based
authentication.

If you want to capture the user ID and password you will have to use Forms based authentication:

http://samples.gotdotnet.com/quickst...formsauth.aspx
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #4
-----Original Message-----
On Thu, 24 Jun 2004 23:08:12 -0700, "Hriday" <hr********@yahoo.com> wrote:
¤ Hi there, Please help me..It is urgent
¤
¤
¤ This is Hriday, working on windows authentication with
¤ Active Directory...
¤ My requirment is when a user sends a request to my web
¤ Applicatoin I want to Pop up windows Authentication box so ¤ that user will give his userId, Password & domain name for ¤ authenticaion. After that I want to take these three info ¤ of user and make a search in Active Directory.
¤
¤ I am able to display Win Authentication Pop up by using
¤ Authentication mode="Windows" and in Authrization tag,
¤ deny user="?" and setting Win Integrated authentication in ¤ IIS.
¤
¤ But I am not able to take user's info from Win
¤ Authenication Pop-up Windows..as I used server variable
¤ AUTH_USER and got userId. but when I use AUTH_PASSWORD I ¤ am getting null value...

You cannot obtain the password from the login dialog when using integrated Windows basedauthentication.

If you want to capture the user ID and password you will have to use Forms based authentication:
http://samples.gotdotnet.com/quickst...lus/default.as px?url=/quickstart/aspplus/doc/formsauth.aspx

Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
.


Thanks Paul for your cooperation,

But My requirment is to use Windows Authentication and
make a search in Active directory and get user's
information. For that I think I don't need user's
Password. Only with UserId I should be able to make a
search in Active Directory. Even I am able to do this when
my Web Application is on Active Directory's IIS. But I
have to make a search in such a senario that both Active
Directory and IIS are located on different phisical
machine. In this senario when I search using only Path and
user name...It raises an exception called
System.Runtime.InteropServices.COMException

I have search in msdn but did not get solution....

Please help me in this senario...

Thanks in adavance..
Hriday.
Nov 20 '05 #5
Funny I see I did not paste the link in.
http://msdn.microsoft.com/library/de...nroletopic.asp

Cor

I use "IsInRole" to find these pages on MSDN, can you use this as a start
place to check if this can help you?

Cor

This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.

I am able to display Win Authentication Pop up by using
Authentication mode="Windows" and in Authrization tag,
deny user="?" and setting Win Integrated authentication in
IIS.

But I am not able to take user's info from Win
Authenication Pop-up Windows..as I used server variable
AUTH_USER and got userId. but when I use AUTH_PASSWORD I
am getting null value...

Can some one tell me how to get password and domain fields
value form Windows Authenticaion Box....

If this is not posible ... how can I make a search without
password and domain..in Active directory ....

I copy my code for retrieving user info form Active
Directory. Please help me..It is urgent.

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String, ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username

Private path As String
= "LDAP://AD/DC=AD,DC=SOLVERSA,DC=COM"
Dim entry As New DirectoryEntry(path,
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
'Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails


Nov 20 '05 #6
On Fri, 25 Jun 2004 08:17:19 -0700, "Hriday" <hr********@yahoo.com> wrote:

¤
¤ >-----Original Message-----
¤ >On Thu, 24 Jun 2004 23:08:12 -0700, "Hriday"
¤ <hr********@yahoo.com> wrote:
¤ >
¤ >¤ Hi there, Please help me..It is urgent
¤ >¤
¤ >¤
¤ >¤ This is Hriday, working on windows authentication with
¤ >¤ Active Directory...
¤ >¤ My requirment is when a user sends a request to my web
¤ >¤ Applicatoin I want to Pop up windows Authentication box
¤ so
¤ >¤ that user will give his userId, Password & domain name
¤ for
¤ >¤ authenticaion. After that I want to take these three
¤ info
¤ >¤ of user and make a search in Active Directory.
¤ >¤
¤ >¤ I am able to display Win Authentication Pop up by using
¤ >¤ Authentication mode="Windows" and in Authrization tag,
¤ >¤ deny user="?" and setting Win Integrated authentication
¤ in
¤ >¤ IIS.
¤ >¤
¤ >¤ But I am not able to take user's info from Win
¤ >¤ Authenication Pop-up Windows..as I used server variable
¤ >¤ AUTH_USER and got userId. but when I use AUTH_PASSWORD
¤ I
¤ >¤ am getting null value...
¤ >
¤ >You cannot obtain the password from the login dialog when
¤ using integrated Windows based
¤ >authentication.
¤ >
¤ >If you want to capture the user ID and password you will
¤ have to use Forms based authentication:
¤ >
¤ >http://samples.gotdotnet.com/quickst...lus/default.as
¤ px?url=/quickstart/aspplus/doc/formsauth.aspx
¤ >
¤ >
¤ >Paul ~~~ pc******@ameritech.net
¤ >Microsoft MVP (Visual Basic)
¤ >.
¤ >
¤
¤ Thanks Paul for your cooperation,
¤
¤ But My requirment is to use Windows Authentication and
¤ make a search in Active directory and get user's
¤ information. For that I think I don't need user's
¤ Password. Only with UserId I should be able to make a
¤ search in Active Directory. Even I am able to do this when
¤ my Web Application is on Active Directory's IIS. But I
¤ have to make a search in such a senario that both Active
¤ Directory and IIS are located on different phisical
¤ machine. In this senario when I search using only Path and
¤ user name...It raises an exception called
¤ System.Runtime.InteropServices.COMException
¤
¤ I have search in msdn but did not get solution....
¤
¤ Please help me in this senario...

If your web server is in the AD domain you should be able to query AD.

What is the line of code that is causing the error?
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #7
-----Original Message-----
On Fri, 25 Jun 2004 08:17:19 -0700, "Hriday" <hr********@yahoo.com> wrote:
¤
¤ >-----Original Message-----
¤ >On Thu, 24 Jun 2004 23:08:12 -0700, "Hriday"
¤ <hr********@yahoo.com> wrote:
¤ >
¤ >¤ Hi there, Please help me..It is urgent
¤ >¤
¤ >¤
¤ >¤ This is Hriday, working on windows authentication with ¤ >¤ Active Directory...
¤ >¤ My requirment is when a user sends a request to my web ¤ >¤ Applicatoin I want to Pop up windows Authentication box ¤ so
¤ >¤ that user will give his userId, Password & domain name ¤ for
¤ >¤ authenticaion. After that I want to take these three
¤ info
¤ >¤ of user and make a search in Active Directory.
¤ >¤
¤ >¤ I am able to display Win Authentication Pop up by using ¤ >¤ Authentication mode="Windows" and in Authrization tag, ¤ >¤ deny user="?" and setting Win Integrated authentication ¤ in
¤ >¤ IIS.
¤ >¤
¤ >¤ But I am not able to take user's info from Win
¤ >¤ Authenication Pop-up Windows..as I used server variable ¤ >¤ AUTH_USER and got userId. but when I use AUTH_PASSWORD ¤ I
¤ >¤ am getting null value...
¤ >
¤ >You cannot obtain the password from the login dialog when ¤ using integrated Windows based
¤ >authentication.
¤ >
¤ >If you want to capture the user ID and password you will ¤ have to use Forms based authentication:
¤ >
¤
http://samples.gotdotnet.com/quickst...lus/default.as
¤ px?url=/quickstart/aspplus/doc/formsauth.aspx
¤ >
¤ >
¤ >Paul ~~~ pc******@ameritech.net
¤ >Microsoft MVP (Visual Basic)
¤ >.
¤ >
¤
¤ Thanks Paul for your cooperation,
¤
¤ But My requirment is to use Windows Authentication and
¤ make a search in Active directory and get user's
¤ information. For that I think I don't need user's
¤ Password. Only with UserId I should be able to make a
¤ search in Active Directory. Even I am able to do this when ¤ my Web Application is on Active Directory's IIS. But I
¤ have to make a search in such a senario that both Active ¤ Directory and IIS are located on different phisical
¤ machine. In this senario when I search using only Path and ¤ user name...It raises an exception called
¤ System.Runtime.InteropServices.COMException
¤
¤ I have search in msdn but did not get solution....
¤
¤ Please help me in this senario...

If your web server is in the AD domain you should be able to query AD.
What is the line of code that is causing the error?
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
.


Hi Paul,

My web server in the AD domain only, but I am not able to
search user's info by the following code if I pass only
path as parameter to DirectoyEntry class..The same code is
working if I pass all the three parameter as path,userId
and password. but I can't get password from Windows
authenticatoin Popup box.....

I think I should be able to search in AD by only having
complete LDAP path and Username. I copy the complete code
here...I get error on following line
Dim obj As Object = entry.NativeObject

Thanks a lot for your cooparation..

COMPLETE CODE IS LIKE THIS...

Private path As String
= "LDAP://AD/DC=AD,DC=MyComp,DC=COM"
Private filterAttribute As String
Public fullname As String
Public groupName As String
Public email As String

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String) ', ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username
Dim entry As New DirectoryEntry(path) ',
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails
Nov 20 '05 #8
On Sat, 26 Jun 2004 02:01:59 -0700, "Hriday" <hr********@yahoo.com> wrote:
¤ >What is the line of code that is causing the error?
¤ >
¤ >
¤ >Paul ~~~ pc******@ameritech.net
¤ >Microsoft MVP (Visual Basic)
¤ >.
¤ >
¤
¤ Hi Paul,
¤
¤ My web server in the AD domain only, but I am not able to
¤ search user's info by the following code if I pass only
¤ path as parameter to DirectoyEntry class..The same code is
¤ working if I pass all the three parameter as path,userId
¤ and password. but I can't get password from Windows
¤ authenticatoin Popup box.....
¤
¤ I think I should be able to search in AD by only having
¤ complete LDAP path and Username. I copy the complete code
¤ here...I get error on following line
¤ Dim obj As Object = entry.NativeObject
¤
¤ Thanks a lot for your cooparation..
¤
¤ COMPLETE CODE IS LIKE THIS...
¤
¤ Private path As String
¤ = "LDAP://AD/DC=AD,DC=MyComp,DC=COM"

Is this the root path of your domain? It doesn't look right to me. What is returned as the root when
you execute the following code?

Dim RootDSE As New DirectoryServices.DirectoryEntry("LDAP://RootDSE")
MsgBox(RootDSE.Properties("DefaultNamingContext"). Value)
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #9
-----Original Message-----
On Sat, 26 Jun 2004 02:01:59 -0700, "Hriday" <hr********@yahoo.com> wrote:

¤ >What is the line of code that is causing the error?
¤ >
¤ >
¤ >Paul ~~~ pc******@ameritech.net
¤ >Microsoft MVP (Visual Basic)
¤ >.
¤ >
¤
¤ Hi Paul,
¤
¤ My web server in the AD domain only, but I am not able to ¤ search user's info by the following code if I pass only
¤ path as parameter to DirectoyEntry class..The same code is ¤ working if I pass all the three parameter as path,userId ¤ and password. but I can't get password from Windows
¤ authenticatoin Popup box.....
¤
¤ I think I should be able to search in AD by only having
¤ complete LDAP path and Username. I copy the complete code ¤ here...I get error on following line
¤ Dim obj As Object = entry.NativeObject
¤
¤ Thanks a lot for your cooparation..
¤
¤ COMPLETE CODE IS LIKE THIS...
¤
¤ Private path As String
¤ = "LDAP://AD/DC=AD,DC=MyComp,DC=COM"

Is this the root path of your domain? It doesn't look right to me. What is returned as the root whenyou execute the following code?

Dim RootDSE As New DirectoryServices.DirectoryEntry("LDAP://RootDSE") MsgBox(RootDSE.Properties

("DefaultNamingContext").Value)
Hi paul, thank you for your help..

When I execute the above code to get root path of AD, I
get error that The
specified domain either does not exist or could not be
contacted.

But the same code gives my root path of AD as
DC=AD,DC=MyComp,DC=Com when I excute it from a Windows
Applicatoin. Why is it so...?

same code gives right result from Windows App, but gives
above error from my Web Application...is this because of
there is some problem of my IIS ? otherwise what is
different in accessing AD through Windows App and Web App..

How can I get and set my IIS root path to my Active
directory?

Please write me back...

Thanking you..

Hriday.

Nov 20 '05 #10
On Fri, 2 Jul 2004 03:12:44 -0700, "hriday" <hr********@yahoo.com> wrote:
¤ >¤
¤ >¤ Private path As String
¤ >¤ = "LDAP://AD/DC=AD,DC=MyComp,DC=COM"
¤ >
¤ >Is this the root path of your domain? It doesn't look
¤ right to me. What is returned as the root when
¤ >you execute the following code?
¤ >
¤ > Dim RootDSE As New
¤ DirectoryServices.DirectoryEntry("LDAP://RootDSE")
¤ > MsgBox(RootDSE.Properties
¤ ("DefaultNamingContext").Value)
¤
¤
¤ Hi paul, thank you for your help..
¤
¤ When I execute the above code to get root path of AD, I
¤ get error that The
¤ specified domain either does not exist or could not be
¤ contacted.
¤
¤ But the same code gives my root path of AD as
¤ DC=AD,DC=MyComp,DC=Com when I excute it from a Windows
¤ Applicatoin. Why is it so...?
¤
¤ same code gives right result from Windows App, but gives
¤ above error from my Web Application...is this because of
¤ there is some problem of my IIS ? otherwise what is
¤ different in accessing AD through Windows App and Web App..
¤
¤ How can I get and set my IIS root path to my Active
¤ directory?
¤

Sounds like a permissions problem. I would see the following Microsoft article:

http://msdn.microsoft.com/library/de...asp?frame=true
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
2
by: Dan | last post by:
hi ng, i have a problem with windows authentification. i want to forward every user who 1. is not authorized 2. or could not be authenticated to a login page -------------------
1
by: Eric | last post by:
I trying to setup an intranet based on windows NT groups or roles. I have used windows integrated authentication with impersonation first but this include to use a user to access the database. I...
0
by: Hriday | last post by:
Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to...
6
by: Mr Newbie | last post by:
Hi, Im in a situation where I need to restrict users, but I dont have access or wont be allowed access to manage groups in the domain. How can I restrict access is this case ? -- Best...
6
by: Jimmy | last post by:
Hi, I need to develop a secure Web Service that requires a username and password. One of the requirements is that the WS supports Windows Authentication, meaning accepts the username and...
1
by: Lucky | last post by:
hi guys, after long long efforts i got access to the active directory for "Intigrated windows authentication". now i', suppose to get access the network resources. the problem is i'm getting...
1
by: Luwk | last post by:
I have an application that communicates with the Company's Active Directory to get the OU of the users. This said application is an ASP.Net web site and has the Windows Authentication enabled. ....
0
JamieHowarth0
by: JamieHowarth0 | last post by:
I have been trying to find a solution to this on the Internet for months. Literally, ages and ages and ages, praying that someone in the open-source community has enough knowledge to put together an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.