This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IAbuse>()
and is defined in Telligent.Evolution.Platform.dll
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
AbusiveContent | IAbusiveContent | AbusiveContent | ||
Appeals | IAbuseAppeals | AbuseAppeals | ||
Reports | IAbuseReports | AbuseReports |
Methods
bool CanUserReviewAppeals(Guid contentId, int userId);
Indicates that user has permissions to review appeals on a specific content item. Deprecated: Use CanUserReviewAppeals(Guid, Guid, int) instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
userId | int | User Id | Required |
Return Type
bool
bool CanUserReviewAppeals(Guid contentId, Guid contentTypeId, int userId);
Indicates that user has permissions to review appeals on a specific content item
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
userId | int | User Id | Required |
Return Type
bool
bool CanUserReviewAppealsInApplication(Guid applicationId, Guid applicationTypeId, int userId);
Indicates that user has permissions to review appeals within an application
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
applicationId | Guid | Application Id | Required | ||
applicationTypeId | Guid | Application Type Id | Required | ||
userId | int | User Id | Required |
Return Type
bool
bool CanUserReviewAppealsInContainer(Guid containerId, Guid containerTypeId, int userId);
Indicates that user has permissions to review appeals within a container
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
containerId | Guid | Container Id | Required | ||
containerTypeId | Guid | Container Type Id | Required | ||
userId | int | User Id | Required |
Return Type
bool
bool CanUserReviewAppealsInSite(int userId);
Indicates that user can review appeals somewhere within the site
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User Id | Required |
Return Type
bool
void ContentFoundNotAbusive(Guid contentId);
Restore hidden content. Deprecated: Use ContentFoundNotAbusive(Guid, Guid) instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required |
void ContentFoundNotAbusive(Guid contentId, Guid contentTypeId);
Restore hidden content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
void ContentSuspectedAbusive(Guid contentId);
Hide content. Deprecated: Use ContentSuspectedAbusive(Guid, Guid) instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required |
void ContentSuspectedAbusive(Guid contentId, Guid contentTypeId);
Hide content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
IEnumerable<int> GetReviewBoardUserIds(Guid contentId, Guid contentTypeId);
Retrieves a list of users on the review board for a specific content item.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
Return Type
IEnumerable<int>
bool IsAbusive(Guid contentId, Guid contentTypeId);
Indicates that content is abusive
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type ID | Required |
Return Type
bool