mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-2764] Added basic support for composite and external types * [ADF-2764] Added new type linker features and applied to core docs
37 lines
1.3 KiB
Markdown
37 lines
1.3 KiB
Markdown
---
|
|
Added: v2.0.0
|
|
Status: Active
|
|
Last reviewed: 2018-05-04
|
|
---
|
|
|
|
# Bpm User service
|
|
|
|
Gets information about the current Process Services user.
|
|
|
|
## Class members
|
|
|
|
### Methods
|
|
|
|
- **getCurrentUserInfo**(): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`BpmUserModel`](../core/bpm-user.model.md)`>`<br/>
|
|
Gets information about the current user.
|
|
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`BpmUserModel`](../core/bpm-user.model.md)`>` - User information object
|
|
- **getCurrentUserProfileImage**(): `string`<br/>
|
|
Gets the current user's profile image as a URL.
|
|
- **Returns** `string` - URL string
|
|
|
|
## Details
|
|
|
|
The class returned by `getCurrentUserInfo` is detailed
|
|
in the [Bpm User model docs](bpm-user.model.md).
|
|
|
|
See the
|
|
[getProfile](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-activiti-rest-api/docs/ProfileApi.md#getProfile)
|
|
and
|
|
[getProfilePictureUrl](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-activiti-rest-api/docs/ProfileApi.md#getProfilePictureUrl)
|
|
methods in the Alfresco JS API for more information about the REST calls used by this service.
|
|
|
|
## See also
|
|
|
|
- [Ecm user service](ecm-user.service.md)
|
|
- [Bpm user model](bpm-user.model.md)
|