toggle menu
DHIS2 Android SDK
1.11.1
androidJvm
switch theme
search in API
DHIS2 Android SDK
/
org.hisp.dhis.android.core.user
/
User
User
abstract
class
User
:
BaseIdentifiableObject
,
CoreObject
Members
Constructors
User
Link copied to clipboard
constructor
(
)
Types
Builder
Link copied to clipboard
abstract
class
Builder
:
BaseIdentifiableObject.Builder
<
T
>
Properties
CODE
Link copied to clipboard
val
CODE
:
String
=
"code"
CREATED
Link copied to clipboard
val
CREATED
:
String
=
"created"
DATE_FORMAT
Link copied to clipboard
open
var
DATE_FORMAT
:
SafeDateFormat
DELETED
Link copied to clipboard
val
DELETED
:
String
=
"deleted"
DISPLAY_NAME
Link copied to clipboard
val
DISPLAY_NAME
:
String
=
"displayName"
LAST_UPDATED
Link copied to clipboard
val
LAST_UPDATED
:
String
=
"lastUpdated"
NAME
Link copied to clipboard
val
NAME
:
String
=
"name"
SPACE_DATE_FORMAT
Link copied to clipboard
open
var
SPACE_DATE_FORMAT
:
SafeDateFormat
UID
Link copied to clipboard
val
UID
:
String
=
"id"
UUID
Link copied to clipboard
val
UUID
:
String
=
"uid"
Functions
birthday
Link copied to clipboard
@
Nullable
abstract
fun
birthday
(
)
:
String
builder
Link copied to clipboard
open
fun
builder
(
)
:
User.Builder
code
Link copied to clipboard
@
Nullable
abstract
fun
code
(
)
:
String
create
Link copied to clipboard
@
NonNull
open
fun
create
(
cursor
:
Cursor
)
:
User
created
Link copied to clipboard
@
Nullable
abstract
fun
created
(
)
:
Date
date
To
Date
Str
Link copied to clipboard
open
fun
dateToDateStr
(
date
:
Date
)
:
String
date
To
Space
Date
Str
Link copied to clipboard
open
fun
dateToSpaceDateStr
(
date
:
Date
)
:
String
deleted
Link copied to clipboard
@
Nullable
abstract
fun
deleted
(
)
:
Boolean
display
Name
Link copied to clipboard
@
Nullable
abstract
fun
displayName
(
)
:
String
education
Link copied to clipboard
@
Nullable
abstract
fun
education
(
)
:
String
email
Link copied to clipboard
@
Nullable
abstract
fun
email
(
)
:
String
employer
Link copied to clipboard
@
Nullable
abstract
fun
employer
(
)
:
String
first
Name
Link copied to clipboard
@
Nullable
abstract
fun
firstName
(
)
:
String
gender
Link copied to clipboard
@
Nullable
abstract
fun
gender
(
)
:
String
id
Link copied to clipboard
@
Nullable
abstract
fun
id
(
)
:
Long
interests
Link copied to clipboard
@
Nullable
abstract
fun
interests
(
)
:
String
introduction
Link copied to clipboard
@
Nullable
abstract
fun
introduction
(
)
:
String
job
Title
Link copied to clipboard
@
Nullable
abstract
fun
jobTitle
(
)
:
String
languages
Link copied to clipboard
@
Nullable
abstract
fun
languages
(
)
:
String
last
Updated
Link copied to clipboard
@
Nullable
abstract
fun
lastUpdated
(
)
:
Date
name
Link copied to clipboard
@
Nullable
abstract
fun
name
(
)
:
String
nationality
Link copied to clipboard
@
Nullable
abstract
fun
nationality
(
)
:
String
parse
Date
Link copied to clipboard
open
fun
parseDate
(
dateStr
:
String
)
:
Date
parse
Space
Date
Link copied to clipboard
open
fun
parseSpaceDate
(
dateStr
:
String
)
:
Date
phone
Number
Link copied to clipboard
@
Nullable
abstract
fun
phoneNumber
(
)
:
String
surname
Link copied to clipboard
@
Nullable
abstract
fun
surname
(
)
:
String
to
Builder
Link copied to clipboard
abstract
fun
toBuilder
(
)
:
User.Builder
to
Content
Values
Link copied to clipboard
abstract
fun
toContentValues
(
)
:
ContentValues
uid
Link copied to clipboard
abstract
fun
uid
(
)
:
String
user
Groups
Link copied to clipboard
@
Nullable
abstract
fun
userGroups
(
)
:
List
<
UserGroup
>
username
Link copied to clipboard
@
Nullable
abstract
fun
username
(
)
:
String
user
Roles
Link copied to clipboard
@
Nullable
abstract
fun
userRoles
(
)
:
List
<
UserRole
>