USER_GENERAL_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTSAM_H

/**
 * USER_GENERAL_INFORMATION contains basic user account properties.
 *
 * Fields:
 * - UserName: The account name.
 * - FullName: The full display name.
 * - PrimaryGroupId: RID of the primary group.
 * - AdminComment: Administrative comment string.
 * - UserComment: User-provided comment string.
 */
typedef struct _USER_GENERAL_INFORMATION
{
    UNICODE_STRING UserName;
    UNICODE_STRING FullName;
    ULONG PrimaryGroupId;
    UNICODE_STRING AdminComment;
    UNICODE_STRING UserComment;
} USER_GENERAL_INFORMATION, *PUSER_GENERAL_INFORMATION;

#endif

View code on GitHub

NtDoc

This type is documented in the [MS-SAMR] specification.