You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Permissions Class > Permissions Methods > DeleteItemPermission
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Permissions.DeleteItemPermission Method

Deletes a user or a group from the item's permissions. 

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

~/Workarea/webservices/WebServiceAPI/Permissions.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "DeleteItemPermission", Description = "Deletes a user or a group from the item's permissions")]
public bool DeleteItemPermission(long id, bool IsGroupId, long itemId, EkEnumeration.CMSObjectTypes itemType);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeleteItemPermission", Description = "Deletes a user or a group from the item's permissions")>
Public Function DeleteItemPermission(id As long, IsGroupId As bool, itemId As long, itemType As EkEnumeration.CMSObjectTypes) As bool
Parameters 
Description 
id 
The user or group ID. 
IsGroupId 
Enter true if the ID is a group ID. 
itemId 
Enter a content ID or folder ID. 
itemType 
Is the given item ID EkEnumeration.CMSObjectTypes.Content or EkEnumeration.CMSObjectTypes.Folder

False if it's successful.

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!