mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2876] retrieving user from APS api and not from js-api (#3426)
* [ADF-2876] retrieving user from APS api and not from js-api * [ADF-2876] added support by checking externalId instead of email * [ADF-2876] fixed auth service after rebase
This commit is contained in:
@@ -27,6 +27,7 @@ export class UserProcessModel implements LightUserRepresentation {
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
pictureId?: number = null;
|
||||
externalId?: string;
|
||||
|
||||
constructor(obj?: any) {
|
||||
if (obj) {
|
||||
@@ -35,6 +36,7 @@ export class UserProcessModel implements LightUserRepresentation {
|
||||
this.firstName = obj.firstName || null;
|
||||
this.lastName = obj.lastName || null;
|
||||
this.pictureId = obj.pictureId || null;
|
||||
this.externalId = obj.externalId || null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user