>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.