Likewise Security and Authentication Subsystem
LSA_SECURITY_OBJECT Struct Reference

Security object. More...

Data Fields

LW_PSTR pszDN
 Object distinguished name.
 
LW_PSTR pszObjectSid
 Object SID as a printed string.
 
LW_BOOLEAN enabled
 Is object enabled? More...
 
LW_BOOLEAN bIsLocal
 Is object local? More...
 
LW_PSTR pszNetbiosDomainName
 NetBIOS domain name. More...
 
LW_PSTR pszSamAccountName
 SAM account name. More...
 
LSA_OBJECT_TYPE type
 Object type. More...
 
LSA_SECURITY_OBJECT_USER_INFO userInfo
 User attributes. More...
 
LSA_SECURITY_OBJECT_GROUP_INFO groupInfo
 Group attributes. More...
 

Detailed Description

Represents a user or group, including all its UNIX-like (uid, gid...) and Windows-like (SAM name, SID...) properties.

Field Documentation

LW_BOOLEAN LSA_SECURITY_OBJECT::enabled

Set to true if the object is enabled for use on Linux and UNIX systems. Disabled objects lack meaningful values for their UNIX properties such as UID and GID.

LW_BOOLEAN LSA_SECURITY_OBJECT::bIsLocal

Set to true if the object originates from a local account store, such as the local provider.

LW_PSTR LSA_SECURITY_OBJECT::pszNetbiosDomainName

The name of the object's NetBIOS domain.

LW_PSTR LSA_SECURITY_OBJECT::pszSamAccountName

The SAM account name of the object. An NT4-style name consists of the NetBIOS domain name followed by a backslash and the SAM account name.

LSA_OBJECT_TYPE LSA_SECURITY_OBJECT::type

Presently, only user and group object types are actually returned by lsass APIs.

LSA_SECURITY_OBJECT_USER_INFO LSA_SECURITY_OBJECT::userInfo

Attributes that are set if the object type is LSA_OBJECT_TYPE_USER.

LSA_SECURITY_OBJECT_GROUP_INFO LSA_SECURITY_OBJECT::groupInfo

Attributes that are set if the object type is LSA_OBJECT_TYPE_GROUP.