This interface enables comments to be managed on a content type.
IManageableCommentableContentType
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IManageableCommentableContentType : ICommentableContentType, IContentType, IPlugin { Guid PermissionId { get; } bool CanManage(Guid applicationId, int userId); }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
PermissionId | Guid |
Methods
bool CanManage(Guid applicationId, int userId);
Returns true if the user can manage comments for the specified application. False if not.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
applicationId | Guid | Application Id | Required | ||
userId | int | User Id | Required |
Return Type
bool