Click or drag to resize
ChatFloodProtector.CheckOperation Method
Checks specified operation for flooding. One user can perform an operation only once in the interval specified in settings.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntax
C#
public bool CheckOperation(
	int chatUserID,
	FloodOperationEnum operation
)

Parameters

chatUserID
Type: System.Int32
Unique identifier of the chat user.
operation
Type: CMS.Chat.FloodOperationEnum
Operation performed.

Return Value

Type: Boolean
True if user can perform the operation. False if it is called to early.
See Also