defaultUserTransformer()
Home > @backstage/plugin-catalog-backend-module-msgraph > defaultUserTransformer
The default implementation of the transformation from a graph user entry to a User entity.
Signature:
function defaultUserTransformer(user: MicrosoftGraph.User, userPhoto?: string): Promise<UserEntity | undefined>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
user |
MicrosoftGraph.User | |
|
userPhoto |
string |
(Optional) |
Promise<UserEntity | undefined>