|
-
Jun 10th, 2001, 07:33 PM
#1
Thread Starter
New Member
netapis
Does anyone know if the netsetuserinfo function can be used to configure users profile settings such as the logon script settings, the profile path, home directory and terminal server settings as seen in user manager... or is there another api call that is available to use, or where can I find some more info.
Cheers John
-
Jun 15th, 2001, 05:27 PM
#2
Member
The actual api call is NetUserSetInfo, and yes you can use it to change virtually anything in the users setup. There are different Types that can be used with the function to change different parameters of the users setup.
If this is called in a domain environment then you will need to retrieve the name of the PDC before you call this api.
I strongly recommend that you look up NetUserSetInfo, the MSDN page for this call is: http://msdn.microsoft.com/library/ps...mapi2_0zfz.htm
If you need any further advice please dont hesitate to email me.
Hope this helps
Grant French
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|