Difference between revisions of "Resource delete"
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{HelpFiles}} | ||
= Resource_delete = | = Resource_delete = | ||
Line 10: | Line 11: | ||
=== Syntax === | === Syntax === | ||
− | Resource_delete(ResourceID) | + | Resource_delete(ResourceID) |
− | <br> | + | <br> |
=== Arguments === | === Arguments === | ||
Line 25: | Line 26: | ||
*true if deleted and child resources deleted also. | *true if deleted and child resources deleted also. | ||
+ | *false if the resource can not be deleted. | ||
− | <br> | + | <br> |
=== Examples === | === Examples === |
Latest revision as of 03:51, 14 December 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.
- false if the resource can not be deleted.
Examples
bool RDelstatus =Resource_delete(37278397);
print(RDelstatus); // result: true