mng.GetUserAttributes

This job delivers the properties of the specified user.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

OutputUnicode

INT

Yes

Must be passed as 1.

User

STRING

Yes

Username (DB field benutzer.benutzer)

2. Output Parameters

Name Type Dependency Description

utfXmlInfo

BASE64

User information in XML format (see below).

3. Structure of utfXmlInfo

<AdmInfo>
  <Users>
    <User account_type="0" bemerkung="9f73fbbd-c994-4e94-9e8a-9c3da7ca9f19" benutzer="ROOT" changepwd="0" flags="1" geaendert="0" id="2" langid="0" locked="0" logincount="0" loginname="ROOT" loginstation="" logintime="1774479216" mfauthflag="0" name="Administrator" never_expire="0" osemail="admin@ecmind.ch" osguid="35100CD4D441420B90811DC90766D64F" profil="-1" pwd_changed="1" server_id="0" station="" supervisor="-1" validfrom="" validto=""/>
  </Users>
</AdmInfo>
Attribute Type Description

account_type

INT

Login type: 0 = user login; 1 = application server; 2 = ANONYMOUS; 3 = application server (e.g., Java server)

bemerkung

STRING

Comment from user configuration

benutzer

STRING

Username

changepwd

INT

1 = user must change password on next login, otherwise 0

loginname

STRING

Login name

flags

INT

0 = normal user; 1 = server or ANONYMOUS

geaendert

INT

0 = profile not changed; 1 = profile was changed

id

INT

ID of the user

langid

INT

ID of the language of the object definition (empty = German)

locked

INT

1 = user is locked, otherwise 0

logincount

INT

Number of login attempts

loginstation

STRING

Name of the last login station

logintime

INT

Login timestamp

mfauthflag

INT

Multi-factor authentication flag

name

STRING

Full name of the user

osemail

STRING

User’s email

osguid

STRING

GUID of the user

passwort

STRING

Encrypted password of the user

never_expire

INT

1 = password never expires, otherwise 0

profil

INT

-1 = no profile; 0 = user profile; >0 = ID of assigned profile

pwd_changed

INT

Timestamp of the last password change (Unix timestamp); 0 = password has never been changed

server_id

INT

ID of the server

station

STRING

Name of the user’s workstation

supervisor

INT

-1 = supervisor, otherwise 0

validfrom

STRING

User account valid from. Format: YYYY/MM/DD HH:MM:SS. Empty = no restriction.

validto

STRING

User account valid to. Format: YYYY/MM/DD HH:MM:SS. Empty = no restriction.

4. Return Value

(INT): 0 = Job successful, otherwise error code.

5. See Also