Difference between revisions of "Resource delete"
Line 10: | Line 10: | ||
=== Syntax === | === Syntax === | ||
− | Resource_delete(ResourceID) | + | Resource_delete(ResourceID) |
− | <br> | + | <br> |
=== Arguments === | === Arguments === |
Revision as of 09:29, 9 November 2011
Resource_delete
Delete a specific resource.
- User must have administrator right on the resource which will be deleted.
- And user also must have navigation access to that resource.
Syntax
Resource_delete(ResourceID)
Arguments
ResourceID: is a number. It is the resource id of resource.
Return type
Boolean
- true if deleted and child resources deleted also.
Examples
bool RDelstatus =Resource_delete(37278397);
print(RDelstatus); // result: true