Work with user Avatars
This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IUserAvatars>()
and is defined in Telligent.Evolution.Platform.dll
Events
Events.AfterDelete
Handler
void UserAvatarAfterDeleteEventHandler(UserAvatarAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void UserAvatarAfterUpdateEventHandler(UserAvatarAfterUpdateEventArgs e);
Events.BeforeDelete
Handler
void UserAvatarBeforeDeleteEventHandler(UserAvatarBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void UserAvatarBeforeUpdateEventHandler(UserAvatarBeforeUpdateEventArgs e);
Methods
AdditionalInfo Delete(int userId);
Delete a user's Avatar
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User's id | Required |
Return Type
Avatar Update(int userId, UserAvatarsUpdateOptions options);
Update a user's Avatar
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User's id | Required | ||
options | UserAvatarsUpdateOptions | User avatar's attributes value for update operation | Required |