Ektron CMS400.NET API Documentation
|
This function evaluates if the new message is spam or not based on the spam filter selected.
public Boolean IsSpam(Long objectId, EkEnumeration.MessageBoardObjectType objectType, Long userId, String messageText, EkEnumeration.MessageBoardSpamControlType spamControlType, int interval);
Public Function IsSpam(ByVal objectId As Long, ByVal objectType As EkEnumeration.MessageBoardObjectType, ByVal userId As Long, ByVal messageText As String, ByVal spamControlType As EkEnumeration.MessageBoardSpamControlType, ByVal interval As Integer) As Boolean
Parameters |
Description |
objectId |
The id of the object that has the message board. |
objectType |
The type of object. |
userId |
The Id of the user entering the message. |
messageText |
The text of the message. |
spamControlType |
The type of spam filter selected. |
interval |
The time interval for the spam filter. |
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|