 |
|
 |
Hi All,
I was trying to hook over the API's which were used for user management. I m using Windows 2000 Professional.
I found some API's like NetUserAdd, NetGroupAdd and NetLocalGroupAdd, NetLocalGroupAddMember,NetGroupAddUser etc of NETAPI32.dll which are used generally for user accounts management.
My Problem is, When i go to
control panel--> users and password --> users --> Add
and added a new user to give access, None of the API listed above is called. Can any one tell me which API is used for this and where is this information is stored?
Thanks in Advance.
Regards
Abhinav
|
|
|
|
 |
|
 |
Hi!
Do you know how to get the ADSI's password of specific user? Let me give you an example: Your user forgot the password and you want to sen dby email the ADSI's password. What your aplication should do is to go to ADSI and search the user and to get the password. This funcion should have administrator rigth.
Could the application get the password??
|
|
|
|
 |
|
 |
You can't get password of user but you can change password to another value
-----------------
conglt
|
|
|
|
 |
|
 |
I've downloaded the latest Iads.h and I've even included it in the project folder but
I'm still getting these errors:
DSIUserDlg.obj : error LNK2001: unresolved external symbol _CLSID_WinNTSystemInfo
ADSIUserDlg.obj : error LNK2001: unresolved external symbol _IID_IADsWinNTSystemInfo
Why can't I get it to work??
|
|
|
|
 |
|
 |
I finally figured it out!
You must download the latest Platform SDK and then register it with Visual Studio
First you must close out Visual Studio 6 or .NET
then go to Start-> Programs -> Microsoft SDK -> Visual Studio Registration -> Register PSDK Directories with Visual Studio
and ta da! the program works!!
I hope this helps,
|
|
|
|
 |
|
|
 |
|
 |
hello
i need to create a group policy object through code.How can i do this using C#.Net. How can i make use of the directory services in .Net. Can u also let me know if i can make use of the GPMC for this purpose and if so how
Thanks
Chettu
|
|
|
|
 |
|
 |
I need to do exactly same thing. Were you able to get solution to this issue. Please let me know if you were able to create a group policy through code.
Thanks
|
|
|
|
 |
|
 |
I am also looking for the same solution.
If anyone has it, please forward it to me.
Thank You in advance
|
|
|
|
 |
|
 |
I too am getting Unresolved External on several IID, from the threads here I believe I need the latest iads.h.
However I've got VS.NET 2003 development environment, which I would have hoped came with the latest SDK since this is the latest version of VS.
However just in case does anyone know if it's available from the Microsoft msdn website anywhere?
Thanks
Sarah
|
|
|
|
 |
|
 |
I was created one com component to create a site on IIS.Inside the component am using ADsGetbject but when i test the component on Purifier & bounds checker ADsGetbject function showing memory leakage.what is the problem.I am expecting your valuable reply.kindly reply me.
|
|
|
|
 |
|
 |
Hi,
Nice example and it works great, but is there a way to get the email from the user?
When i use get_EmailAddress it returns failed
Thanks,
Mark
|
|
|
|
 |
|
 |
Same Problem!
I am able to get everything but the email address. I've poked around for some time, and never solved the problem. If anyone knows how to do this, please post the answer! It's a hole in my code that is very bothersome.
thanks,
Gene
|
|
|
|
 |
|
|
 |
|
 |
May the gods be praised!
I did get your zip (thank you thank you) and am trying to hone my adsi skills.
Pardon my poor skills, but could you give a sample string that your test program would properly parse? I'm so close but still no banana
I've tried a number of strings, all ending in failure to prosper....:
WinNT://Synergis/Gerry.Donlon
//Synergis/CBU/Gerry.Donlon
WinNT://Synergis/CBU/Gerry.Donlon
synergis.com/gerry.donlon
etc...
Thank you in advance for any help
Gene
|
|
|
|
 |
|
|
 |
|
 |
Hi,
When i try to instantiate an object of the IADsWInNTSystemInfo, i am getting undeclared identifer error. I have included the Iads.h file, but the file doesn't contain the interface. Where will i get the latest header file. Anbody help??
Thanx,
Sangeetha.
|
|
|
|
 |
|
|
 |
|
 |
I put these in my .cpp code, as they are mysterious undefined globals
static const IID IID_IADsWinNTSystemInfo =
{ 0x6C6D65DC, 0xAFD1, 0x11D2, { 0x9C, 0xB9, 0x00, 0x00, 0xF8, 0x7A, 0x36, 0x9E } };
//HKEY_CLASSES_ROOT\CLSID\{66182EC4-AFD1-11d2-9CB9-0000F87A369E}
static const CLSID CLSID_WinNTSystemInfo =
{ 0x66182EC4, 0xAFD1, 0x11d2, { 0x9C, 0xB9, 0x00, 0x00, 0xF8, 0x7A, 0x36, 0x9E } };
|
|
|
|
 |
|
 |
I've declared grobal consts and still have:
c:\program files\microsoft visual studio\vc98\include\unknwn.h(121) : error C2787: 'IADsUser' : no GUID has been associated with this object
C:\Documents and Settings\Administrator\Moje dokumenty\Visual Studio Projects\adsiuserdmo_demo\UserPropDlg.cpp(220) : see reference to function template instantiation 'long __stdcall IUnknown::QueryInterface(struct IADsUser ** )' being compi
led
vc 6.0, w2k prof.
|
|
|
|
 |
|
 |
Hi,
and how can I get the new IADS.h file?
Amjad
|
|
|
|
 |
|
 |
Get MSDN October 2002 from Raimbow centre Karachi. Its on 3 CDs, it will hardly cost u 60 rupees
|
|
|
|
 |
|
 |
I have downloaded the example as i'm trying to do some work with my domain AD, I complied the code and get undeclared identifier for the interface 'IADsWinNTSystemInfo'
Please can anyone tell me why as this is rather urgent.
FYI
VC++ 6.0 - sp4
Exchange Server SDK (2000) installed
Cheers
FB
|
|
|
|
 |
|
 |
The pointer is in the headerfile
You need the latest SDK for the actual version of this headerfile.
The header installed with VC++ 6.0 SP5 is not actual.
Hope that helps
|
|
|
|
 |
|
 |
in my message the name of the headerfile is lost.
The name is in IADS.H
|
|
|
|
 |