Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a user on NT server
Message
From
04/06/1997 23:37:32
 
 
To
04/06/1997 10:12:04
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00034731
Message ID:
00035117
Views:
37
>Here is full article from Win32 SDK:
>
>The USER_INFO_1 structure contains user information for network accounts.
>typedef struct _USER_INFO_1 {
> LPWSTR usri1_name;
> LPWSTR usri1_password;
> DWORD usri1_password_age;
> DWORD usri1_priv;
> LPWSTR usri1_home_dir;
> LPWSTR usri1_comment;
> DWORD usri1_flags;
> LPWSTR usri1_script_path;
>}USER_INFO_1, *PUSER_INFO_1, *LPUSER_INFO_1;

>
>> Can someone tell me where I can find information about this structure
>that
>> I have to build to be able to pass it there?
>>
>> Any sample for NetUserAdd() will also be welcomed. :)

BTW, if someone have a sample on how to use this structure with the NETAPI32.DLL, I would really appreciate that.

Thanks.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform