Likewise Security and Authentication Subsystem
LSA_SECURITY_OBJECT_USER_INFO Struct Reference

User object info. More...

Data Fields

LW_PSTR pszPrimaryGroupSid
 Primary group SID. More...
 
LW_PSTR pszUPN
 UPN. More...
 
LW_PSTR pszAliasName
 Alias. More...
 
uint64_t qwPwdLastSet
 Password last set time. More...
 
uint64_t qwMaxPwdAge
 Password age. More...
 
uint64_t qwPwdExpires
 Password expiry time. More...
 
uint64_t qwAccountExpires
 Account expiry time. More...
 
LW_BOOLEAN bIsGeneratedUPN
 Is UPN generated? More...
 
LW_BOOLEAN bIsAccountInfoKnown
 Is account info known? More...
 
LW_BOOLEAN bPasswordExpired
 Is the password expired?
 
LW_BOOLEAN bPasswordNeverExpires
 Does the password never expire?
 
LW_BOOLEAN bPromptPasswordChange
 Should the user be asked to change password?
 
LW_BOOLEAN bUserCanChangePassword
 Can the user change password?
 
LW_BOOLEAN bAccountDisabled
 Is the account disabled?
 
LW_BOOLEAN bAccountExpired
 Is the account expired?
 
LW_BOOLEAN bAccountLocked
 Is the account locked?
 
uid_t uid
 UNIX UID.
 
gid_t gid
 UNIX primary GID.
 
LW_PSTR pszUnixName
 UNIX account name.
 
LW_PSTR pszPasswd
 UNIX password. More...
 
LW_PSTR pszGecos
 UNIX GECOS field.
 
LW_PSTR pszShell
 UNIX shell.
 
LW_PSTR pszHomedir
 UNIX home directory.
 
LW_PSTR pszDisplayName
 Windows Display name. This is initialized whenever the data is available, even for unenabled users.
 
LW_PSTR pszWindowsHomeFolder
 Windows Home Folder.
 
LW_PSTR pszLocalWindowsHomeFolder
 Windows Home Folder mount point.
 

Detailed Description

Information about a user in a user object

Field Documentation

LW_PSTR LSA_SECURITY_OBJECT_USER_INFO::pszPrimaryGroupSid

The user's primary group SID in string form

LW_PSTR LSA_SECURITY_OBJECT_USER_INFO::pszUPN

The user's User Principal Name

LW_PSTR LSA_SECURITY_OBJECT_USER_INFO::pszAliasName

The user's alias

uint64_t LSA_SECURITY_OBJECT_USER_INFO::qwPwdLastSet

The last time the user's password was set as an NT time.

uint64_t LSA_SECURITY_OBJECT_USER_INFO::qwMaxPwdAge

The maximum password age as an NT time

uint64_t LSA_SECURITY_OBJECT_USER_INFO::qwPwdExpires

When the user's password will expire as an NT time.

uint64_t LSA_SECURITY_OBJECT_USER_INFO::qwAccountExpires

When the users's account will expire as an NT time.

LW_BOOLEAN LSA_SECURITY_OBJECT_USER_INFO::bIsGeneratedUPN

Set to TRUE if the user's UPN was synthesized from the NT4 name

LW_BOOLEAN LSA_SECURITY_OBJECT_USER_INFO::bIsAccountInfoKnown

Set to TRUE if the following BOOLEAN field have well-defined values.

LW_PSTR LSA_SECURITY_OBJECT_USER_INFO::pszPasswd

This field will usually contain no value