다음을 통해 공유


2.2.1.8 USER_ALL Values

USER_ALL values are used in the WhichFields bit field in the SAMPR_USER_ALL_INFORMATION structure. All bits can be combined with a logical OR in any combination that is in accordance with the processing instructions specified in sections 3.1.5.6.5, 3.1.5.6.4, 3.1.5.5.6 and 3.1.5.5.5. If a bit is set, the associated field of SAMPR_USER_ALL_INFORMATION MUST be processed by the server. If a bit is not set, the server MUST ignore the associated field. The last column of the following table indicates the bit-to-field association.

Constant/value

Description

USER_ALL_USERNAME

0x00000001

UserName

USER_ALL_FULLNAME

0x00000002

FullName

USER_ALL_USERID

0x00000004

UserId

USER_ALL_PRIMARYGROUPID

0x00000008

PrimaryGroupId

USER_ALL_ADMINCOMMENT

0x00000010

AdminComment

USER_ALL_USERCOMMENT

0x00000020

UserComment

USER_ALL_HOMEDIRECTORY

0x00000040

HomeDirectory

USER_ALL_HOMEDIRECTORYDRIVE

0x00000080

HomeDirectoryDrive

USER_ALL_SCRIPTPATH

0x00000100

ScriptPath

USER_ALL_PROFILEPATH

0x00000200

ProfilePath

USER_ALL_WORKSTATIONS

0x00000400

WorkStations

USER_ALL_LASTLOGON

0x00000800

LastLogon

USER_ALL_LASTLOGOFF

0x00001000

LastLogoff

USER_ALL_LOGONHOURS

0x00002000

LogonHours

USER_ALL_BADPASSWORDCOUNT

0x00004000

BadPasswordCount

USER_ALL_LOGONCOUNT

0x00008000

LogonCount

USER_ALL_PASSWORDCANCHANGE

0x00010000

PasswordCanChange

USER_ALL_PASSWORDMUSTCHANGE

0x00020000

PasswordMustChange

USER_ALL_PASSWORDLASTSET

0x00040000

PasswordLastSet

USER_ALL_ACCOUNTEXPIRES

0x00080000

AccountExpires

USER_ALL_USERACCOUNTCONTROL

0x00100000

UserAccountControl

USER_ALL_PARAMETERS

0x00200000

Parameters

USER_ALL_COUNTRYCODE

0x00400000

CountryCode

USER_ALL_CODEPAGE

0x00800000

CodePage

USER_ALL_NTPASSWORDPRESENT

0x01000000

NtPasswordPresent

USER_ALL_LMPASSWORDPRESENT

0x02000000

LmPasswordPresent

USER_ALL_PRIVATEDATA

0x04000000

PrivateData

USER_ALL_PASSWORDEXPIRED

0x08000000

PasswordExpired

USER_ALL_SECURITYDESCRIPTOR

0x10000000

SecurityDescriptor

USER_ALL_UNDEFINED_MASK

0xC0000000

Undefined mask.