Results 1 to 2 of 2

Thread: netapis

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Location
    Perth Western Australia
    Posts
    2

    Wink 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

  2. #2
    Member
    Join Date
    Aug 2000
    Posts
    60
    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
  •  



Click Here to Expand Forum to Full Width