You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > MessageBoard Class > MessageBoard Methods > DeleteMessageBoardEntriesByUser Method > DeleteMessageBoardEntriesByUser
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
MessageBoard.DeleteMessageBoardEntriesByUser Method (long, EkEnumeration.MessageBoardObjectType, long)

Deletes all the message board records for a specified user. 

This method can be accessed through the MessageBoard.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/MessageBoard.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "DeleteMessageBoardEntriesByUser", Description = "Deletes all the message board records for a particular User.")]
public bool DeleteMessageBoardEntriesByUser(long objectId, EkEnumeration.MessageBoardObjectType objectType, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeleteMessageBoardEntriesByUser", Description = "Deletes all the message board records for a particular User.")>
Public Function DeleteMessageBoardEntriesByUser(objectId As long, objectType As EkEnumeration.MessageBoardObjectType, userId As long) As bool
Parameters 
Description 
objectId 
The ID of the object associated with the message board. 
objectType 
The type of object. 
userId 
The user ID whose messages to you want to delete. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!