USER_INFO_1051 structure (lmaccess.h)

The USER_INFO_1051 structure contains the relative ID (RID) associated with the user account. This information level is valid only when you call the NetUserSetInfo function.


typedef struct _USER_INFO_1051 {
  DWORD usri1051_primary_group_id;
} USER_INFO_1051, *PUSER_INFO_1051, *LPUSER_INFO_1051;



Specifies a DWORD value that contains the RID of the Primary Global Group for the user specified in the username parameter to the NetUserSetInfo function. This member must be the RID of a global group that represents the enrolled user. For more information about RIDs, see SID Components.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header lmaccess.h (include Lm.h)

See also


Network Management Overview

Network Management Structures

User Functions