Class: Inforouter::User
Overview
A User
defines an infoRouter user.
Instance Attribute Summary collapse
-
#authentication_authority ⇒ Object
User authentication authority.
-
#domain ⇒ Object
User domain.
-
#email ⇒ Object
User email.
-
#enabled ⇒ Object
User enabled.
-
#first_name ⇒ Object
User first name.
-
#id ⇒ Object
User ID.
-
#last_logon ⇒ Object
User last login date.
-
#last_name ⇒ Object
User last name.
-
#last_password_change ⇒ Object
User last password change.
-
#read_only ⇒ Object
User read only.
-
#user_name ⇒ Object
User username.
Instance Method Summary collapse
Methods inherited from Record
Constructor Details
This class inherits a constructor from Inforouter::Record
Instance Attribute Details
#authentication_authority ⇒ Object
User authentication authority.
21 22 23 |
# File 'lib/inforouter/user.rb', line 21 def @authentication_authority end |
#domain ⇒ Object
User domain.
7 8 9 |
# File 'lib/inforouter/user.rb', line 7 def domain @domain end |
#email ⇒ Object
User email.
15 16 17 |
# File 'lib/inforouter/user.rb', line 15 def email @email end |
#enabled ⇒ Object
User enabled.
25 26 27 |
# File 'lib/inforouter/user.rb', line 25 def enabled @enabled end |
#first_name ⇒ Object
User first name.
11 12 13 |
# File 'lib/inforouter/user.rb', line 11 def first_name @first_name end |
#id ⇒ Object
User ID.
5 6 7 |
# File 'lib/inforouter/user.rb', line 5 def id @id end |
#last_logon ⇒ Object
User last login date
17 18 19 |
# File 'lib/inforouter/user.rb', line 17 def last_logon @last_logon end |
#last_name ⇒ Object
User last name.
13 14 15 |
# File 'lib/inforouter/user.rb', line 13 def last_name @last_name end |
#last_password_change ⇒ Object
User last password change
19 20 21 |
# File 'lib/inforouter/user.rb', line 19 def last_password_change @last_password_change end |
#read_only ⇒ Object
User read only.
23 24 25 |
# File 'lib/inforouter/user.rb', line 23 def read_only @read_only end |
#user_name ⇒ Object
User username.
9 10 11 |
# File 'lib/inforouter/user.rb', line 9 def user_name @user_name end |
Instance Method Details
#enabled? ⇒ Boolean
31 32 33 |
# File 'lib/inforouter/user.rb', line 31 def enabled? @enabled end |
#name ⇒ Object
35 36 37 |
# File 'lib/inforouter/user.rb', line 35 def name [@first_name, @last_name].join(' ').strip end |
#read_only? ⇒ Boolean
27 28 29 |
# File 'lib/inforouter/user.rb', line 27 def read_only? @read_only end |