[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_CPROSEC()
 Change Property Security
------------------------------------------------------------------------------
 Syntax
 
      FN_cBndOse(cObject, nType, cProperty, nWrite, nRead) => lChanged
 
 Arguments


     <cObjectName> is the name of the Bindery Object that you are trying
                     to change the property security for.  Max Length = 47

     <nObjectType> is the Bindery Object Type.  Manifest constants
                     describing the defined types are included in the
                     NETTO.CH header file.  Wildcard characters are
                     not allowed.

     <cProperty> is the name of the property whose security is to be
                   changed.  Max Length = 15

     <nWrite> is the Property write security as an integer.
                The integer indicates who can add properties
                to the bindery object.

     <nRead> is the Property read security as an integer.
               The integer indicates who can read and scan
               properties for a bindery object.

         +---------------------------------+
         | Read and Write Security Levels  |
         |---------------------------------|
         | 0| Anyone                       |
         |--+------------------------------|
         | 1| Logged                       |
         |--+------------------------------|
         | 2| Object                       |
         |--+------------------------------|
         | 3| Supervisor                   |
         |--+------------------------------|
         | 4| Netware Operating System     |
         +---------------------------------+


 Returns

     <lChanged> logical if security was changed or not.
           If an error occurs, .F. will be the return value.

 Description

     This function changes the security of a bindery object's
     property.

 Examples

     // this will changes KEVIN's IDENTIFICATION property security
     // to SUPERVISOR to change and LOGGED to read
     lChanged := FN_cProSec("KEVIN", OT_USER, "IDENTIFICATION", 3, 1)


 Source: N:\SRC\BINDERY\CHGPSEC.PRG

 Author: Kevin Maher/Steve Tyrakowski

See Also: fn_cBndOSe()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson