Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetdelprp()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETDELPRP()
 Deletes an object property
------------------------------------------------------------------------------
 Syntax

     NNETDELPRP(<cObjName>,[<nObjType>],<cPropName>,
        [<cServer>|<nConId>]) --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

     <cObjName> Designates the name of the bindery object that is
     processed.

     <nObjType>  Designates a numeric value that indicates the object
     type.  The header file CTNNET.CH contains symbolic constants for the
     object types defined by Novell for use with the bindery functions of
     CA-Clipper Tools.  The default value indicates the object type OBJ_USER.

     <cPropName>  Designates the name of the property that is deleted.
     The name can contain the wildcards "?" and "*".  In this case, all
     properties matching the search mask are deleted.

     <cServer>  Designates the name of the file server for which the
     bindery is accessed.  Your workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETDELPRP() returns .T. if the property <cPropName> has been deleted
     successfully.  If an error occurs, the Novell error code can be queried
     with the NNETERROR() function.

 Description

     Important!  NNETDELPRP() is a low level bindery function and should
     be used only with extensive knowledge of the bindery concept and the
     Novell API.

     NOVELL NET DELETE PROPERTY
     NNETDELPRP() allows you to delete properties of a bindery object.
     Sufficient bindery and object access rights are required.  The necessary
     object access rights depend on the object security of the object that is
     manipulated.  For efficiency reasons, user defined object types must be
     passed in the high-low format.

 Examples

     .  Delete property IDENTIFICATION of the user MICK:

        IF NNETDELPRP('MICK',,'IDENTIFICATION')
        ? 'Property has been deleted successfully!'
        ELSE
        ? 'Property could not be deleted!'
        ENDIF

     .  The property IDENTIFICATION of a user object contains a user's
        full name.  In the example above, this information is deleted.  Other
        information, such as the user name (login name) or the password is
        not affected.

See Also: NNETCRTPRP() NNETDELOBJ() NNETERROR()

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