Search
Preparing search index...
The search index is not available
ao-lib
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
UserService
Class UserService
Hierarchy
ServiceCore
UserService
Index
Constructors
constructor
Properties
name
resource
uid
Methods
add
Resource
add
User
Company
add
User
Team
get
Uid
get
User
Config
get
User
Map
get
User
State
set
Uid
update
User
Config
update
User
Info
update
User
Map
update
User
State
Constructors
constructor
new
User
Service
(
)
:
UserService
Returns
UserService
Properties
name
name
:
string
resource
resource
:
ResourceMap
Optional
uid
uid
:
undefined
|
string
Methods
add
Resource
add
Resource
(
name
:
string
, resource
:
any
)
:
void
Parameters
name:
string
resource:
any
Returns
void
add
User
Company
add
User
Company
(
uid
:
string
, cid
:
string
)
:
any
Parameters
uid:
string
cid:
string
Returns
any
add
User
Team
add
User
Team
(
tid
:
string
, uid
?:
undefined
|
string
)
:
any
Parameters
tid:
string
Optional
uid:
undefined
|
string
Returns
any
get
Uid
get
Uid
(
)
:
undefined
|
string
Returns
undefined
|
string
get
User
Config
get
User
Config
(
options
?:
PartialGetOptions
)
:
any
Parameters
Default value
options:
PartialGetOptions
= {}
Returns
any
get
User
Map
get
User
Map
(
options
?:
PartialGetOptions
)
:
any
Parameters
Default value
options:
PartialGetOptions
= {}
Returns
any
get
User
State
get
User
State
(
uid
?:
undefined
|
string
, options
?:
PartialGetOptions
)
:
any
Parameters
Optional
uid:
undefined
|
string
Default value
options:
PartialGetOptions
= {}
Returns
any
set
Uid
set
Uid
(
uid
:
any
)
:
undefined
|
string
Parameters
uid:
any
Returns
undefined
|
string
update
User
Config
update
User
Config
(
info
:
any
, options
:
PartialUpdateOptions
)
:
any
Parameters
info:
any
options:
PartialUpdateOptions
Returns
any
update
User
Info
update
User
Info
(
uid
:
string
, info
:
UserInfo
)
:
Promise
<
Object
>
Parameters
uid:
string
info:
UserInfo
Returns
Promise
<
Object
>
update
User
Map
update
User
Map
(
info
:
any
, options
:
PartialUpdateOptions
)
:
any
Parameters
info:
any
options:
PartialUpdateOptions
Returns
any
update
User
State
update
User
State
(
uid
:
string
, info
:
Partial
<
UserState
>
)
:
any
Parameters
uid:
string
info:
Partial
<
UserState
>
Returns
any
Globals
User
Service
constructor
name
resource
uid
add
Resource
add
User
Company
add
User
Team
get
Uid
get
User
Config
get
User
Map
get
User
State
set
Uid
update
User
Config
update
User
Info
update
User
Map
update
User
State
Generated using
TypeDoc