Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 2.7 KB

User.md

File metadata and controls

49 lines (42 loc) · 2.7 KB

TalonOne::User

Properties

Name Type Description Notes
id Integer Internal ID of this entity.
created DateTime The time this entity was created.
modified DateTime The time this entity was last modified.
email String The email address associated with the user profile.
account_id Integer The ID of the account that owns this entity.
name String Name of the user.
state String State of the user.
invite_token String Invitation token of the user. Note: If the user has already accepted their invitation, this is `null`.
is_admin Boolean Indicates whether the user is an `admin`. [optional]
policy Object Access level of the user.
roles Array<Integer> A list of the IDs of the roles assigned to the user. [optional]
auth_method String Authentication method for this user. [optional]
application_notification_subscriptions Object Application notifications that the user is subscribed to. [optional]
last_signed_in DateTime Timestamp when the user last signed in to Talon.One. [optional]
last_accessed DateTime Timestamp of the user's last activity after signing in to Talon.One. [optional]
latest_feed_timestamp DateTime Timestamp when the user was notified for feed. [optional]
additional_attributes Object Additional user attributes, created and used by external identity providers. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::User.new(id: 6,
                                 created: 2020-06-10T09:05:27.993483Z,
                                 modified: 2021-09-12T10:12:42Z,
                                 email: john.doe@example.com,
                                 account_id: 3886,
                                 name: John Doe,
                                 state: invited,
                                 invite_token: Gy9b8w1irmQtEPo5RmbMmSPheL5h4,
                                 is_admin: false,
                                 policy: {&quot;Role&quot;:127},
                                 roles: [71],
                                 auth_method: basic_auth,
                                 application_notification_subscriptions: null,
                                 last_signed_in: 2021-09-12T10:12:42Z,
                                 last_accessed: 2021-09-12T10:14:42Z,
                                 latest_feed_timestamp: 2020-06-01T00:00Z,
                                 additional_attributes: null)