Difference between revisions of "Resource delete"
Line 1: | Line 1: | ||
'''Resource_delete'''<br> <br> - Delete a resource.<br> + User must have full access to that resource or error will return false if no access to child resources or problem with deleting.<br> + And user must have nav access to the right xxx_delete also. | '''Resource_delete'''<br> <br> - Delete a resource.<br> + User must have full access to that resource or error will return false if no access to child resources or problem with deleting.<br> + And user must have nav access to the right xxx_delete also. | ||
− | '''Syntax''' | + | '''Syntax'''<br> ''' ''' ''' ''' Resource_delete(ResourceID); |
+ | |||
− | |||
'''Arguments''' <br>ResourceID: is a number. <br> | '''Arguments''' <br>ResourceID: is a number. <br> |
Revision as of 08:40, 10 October 2011
Resource_delete
- Delete a resource.
+ User must have full access to that resource or error will return false if no access to child resources or problem with deleting.
+ And user must have nav access to the right xxx_delete also.
Syntax
Resource_delete(ResourceID);
Arguments
ResourceID: is a number.
Return type bool. + true if deleted and child resources deleted also.
Examples
bool RDelstatus =Resource_delete(37278397);
print(RDelstatus);