Using ADSSecurity.DLL from an ASP.NET web service

G

Gilligan Joy

Hi all,

I'm trying to obtain a hex string security ID (SID) using ADsSecurity.DLL
from a web service. However, when the ADsSID.SetAs() method is invoked from
within the web service, a "page not found" error is generated in the browser
window. Impersonating using an administrator's account doesn't work.

I can obtain a hex string security ID without any difficulty using
ADsSecurity.DLL from a Windows Forms application running under an
administrator's account.

I have found code on the web for the .NET equivalent for obtaining the hex
string security ID (by using property "objectSID"), but it returns a blank
value.

Any help would be appreciated!

Thanks,
Gilligan Joy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top