Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> fsobjdel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSObjDel()
------------------------------------------------------------------------------
 Purpose:
 Delete an object from the file server.

 Syntax:
 bResult = FSObjDel(lpszObjectName, wObjectType)

 Parameters:
 lpszObjectName The object name.
 wObjectType    The object type.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 FSObjDel() deletes the specified bindery object lpszObjectName of
 type wObjectType from the file server.

 Returns TRUE if successful, or FALSE if an error occurs.

 Example:
 // To delete the object KATIE, a user:
 if ( FSObjDel( "KATIE", OT_USER ) )
    ? "Bindery object KATIE, of type user, has been deleted"
 endif

 Notes:
 FSObjDel() deletes an object and all its associated
 properties and requires Supervisor equivalence. What it DOES NOT do is
 check to see if the object is in a set property of another object and
 delete it from there. For example if you delete a user, it does not delete
 the user's object ID from the GROUP_MEMBERS property values of any groups
 of which the user may be a member.

See Also: FSObjAdd() ObjNmeChg() FSObjLst() ObjIDGet() ObjTypGet() ObjNmeGet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson