Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
228 lines (114 sloc) 7.09 KB

type: user

The <user> inspectors allow you to list properties of all users, whether they are logged in or not.

account disabled flag of <user> : boolean

Returns True if the specified user's account is disabled.

account expiration of <user> : time

Returns the time when the specified user's account is set to expire.

accounts operator flag of <user> : boolean

Returns True if this user has the accounts operator privilege.

active directory user of <user> : active directory local user

Returns an <active directory local user> object from the specified logged-on user object. This bridges the gaps between user types when using Active Directory inspectors. It retains the domain information of the logged-on user within the user object where other user types might not.

admin privilege of <user> : boolean

Returns True if the specified user has a privilege level of 'admin'.

allowed workstations string of <user> : string

Returns a list of workstations the specified user is allowed to login to. If this string is empty, no restrictions apply.

application parameter string of <user> : string

Returns a string used by Microsoft products to store user configuration information.

attribute <string> of <user> : user attribute

Returns the specified named user attribute for the given user. These attributes are gathered from the LocalHost node of Apple's OpenDirectory system.

attribute of <user> : user attribute

Returns a list of attributes for the given user, logged in or not. These attributes are gathered from the LocalHost node of Apple's OpenDirectory system.

bad password count of <user> : integer

Returns the number of attempts to logon to the specified user account with a bad password.

code page of <user> : integer

Returns the code page corresponding to the specified user's preferred language.

comment of <user> : string

Returns the comments associated with this user's account.

communications operator flag of <user> : boolean

Returns True if the specified user has communications operator privileges.

country code of <user> : integer

Returns the country code of the user's preferred language.

domain of <user> : string

Returns the domain of the specified user.

full name of <user> : string

Returns the full name of the specified user.

guest privilege of <user> : boolean

Returns True if the specified user has a privilege level of 'guest'.

home directory drive of <user> : string

Returns the name of the drive assigned to the specified user's home directory.

home directory folder of <user> : folder

Returns the home directory of the user as a folder.

home directory of <user> : folder

Returns the dsAttrTypeStandard:NFSHomeDirectory attribute of the specified user as a folder.

home directory of <user> : string

Returns the home directory of the user as a string.

home directory required flag of <user> : boolean

Returns True if a home directory is required for the specified user.

id of <user> : integer

No documentation exists.

id of <user> : string

Returns the dsAttrTypeStandard:UniqueID attribute of the specified user.

interdomain trust account flag of <user> : boolean

Returns True if the given user's account stipulates that a domain should trust other domains.

last logoff of <user> : time

Returns the time when the specified user last logged off.

last logon of <user> : time

Returns the time when the specified user last logged on.

locked out flag of <user> : boolean

Returns True if the specified user is currently locked out.

logged on user of <user> : logged on user

Converts a user into a 'logged on' user type -- if and only if the specified user is currently logged in.

logon count of <user> : integer

Returns the number of times which the specified user's account has successfully logged on to the local machine.

logon script of <user> : string

Returns the pathname (as a string) of the specified user's logon script.

logon server of <user> : string

Returns the name of the server (as a string) to which logon requests are sent for the specified user's account.

maximum storage of <user> : integer

Returns the specified user's disk quota. Will return FALSE if the user has no disk quota.

name of <user> : string

Returns the name of all the specified user, whether logged in or not. On Linux or UNIX platforms, returns the name of all logged on users.

no password required flag of <user> : boolean

Returns True if no password is required for the specified user.

normal account flag of <user> : boolean

Returns True if the specified user's account has a default account type corresponding to a typical user.

password age of <user> : time interval

Returns a time interval since the specified user's password was last changed.

password change disabled flag of <user> : boolean

Returns True if the specified user is not allowed to change his password.

password expiration disabled flag of <user> : boolean

Returns True if the specified user's password on this account will never expire.

password expired of <user> : boolean

Returns True if the specified user's password has expired.

primary group id of <user> : integer

Returns primary group id as an integer.

primary group id of <user> : string

Returns the dsAttrTypeStandard:PrimaryGroupID attribute for the specified user.

print operator flag of <user> : boolean

Returns True if the specified user has print operator privileges.

profile folder of <user> : string

Returns the pathname of the folder which contains the specified user's profile.

script flag of <user> : boolean

Returns True if the logon script for the specified user has been executed.

server operator flag of <user> : boolean

Returns True if the specified user has server operator privileges.

server trust account flag of <user> : boolean

Returns True if the specified user has server trust account privileges (for a backup domain controller).

sid of <user> : security identifier

No documentation exists.

temporary duplicate account flag of <user> : boolean

Returns True if this is a temporary duplicate account of the specified user.

tty of <user> : string

Returns the tty of the user.

user comment of <user> : string

Returns the user comments of the specified user.

user id of <user> : integer

Returns the specified user's RID number.

user id of <user> : string

No documentation exists.

user privilege of <user> : boolean

Returns True if the specified user has a privilege level of 'user'.

winrt package of <user> : winrt package

No documentation exists.

workstation trust account flag of <user> : boolean

Returns True if the specified user's account is for a workstation or server.

You can’t perform that action at this time.