home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / t / tpapi.zip / NWBINDRY.DOC < prev    next >
Text File  |  1992-02-06  |  8KB  |  160 lines

  1.                                BINDERY SERVICES
  2.                                ================
  3.  
  4.  
  5. AddBinderyObjectToSet (BinderyObjectName : ObjectNameType; 
  6.                        BinderyObjectType : OT_BinderyType;
  7.                        PropertyName : PropertyNameType;
  8.                        MemberName : ObjectNameType;
  9.                        MemberType : OT_BinderyType) : WORD;
  10.  
  11.   Adds a bindery object to a set property.
  12. -------------------------------------------------------------------------------
  13. ChangeBinderyObjectPassword (BinderyObjectName : ObjectNameType;
  14.                              BinderyObjectType : OT_BinderyType;
  15.                              OldPassword, NewPassword : PasswordType) : WORD;
  16.  
  17.   NOTE : DOES NOT WORK WITH ENCRYPTED PW
  18.  
  19.   Changes the password of a bindery object.
  20. -------------------------------------------------------------------------------
  21. ChangeBinderyObjectSecurity (BinderyObjectName : ObjectNameType;
  22.                              BinderyObjectType : OT_BinderyType;
  23.                              NewObjectSecurity : BYTE) : WORD;
  24.  
  25.   Allows the supervisor to change the security of a bindery object.
  26. -------------------------------------------------------------------------------
  27. ChangePropertySecurity (BinderyObjectName : ObjectNameType;
  28.                         BinderyObjectType : OT_BinderyType;
  29.                         PropertyName : PropertyNameType;
  30.                         NewPropertySecurity : BYTE) : WORD;
  31.  
  32.   Changes the security of a bindery object's property.
  33. -------------------------------------------------------------------------------
  34. CloseBindery : WORD;
  35.  
  36.   Allows the supervisor to close the bindery.
  37. -------------------------------------------------------------------------------
  38. CreateBinderyObject (BinderyObjectName : ObjectNameType;
  39.                      BinderyObjectType : OT_BinderyType;
  40.                      ObjectFlags, ObjectSecurity : BYTE) : WORD;
  41.  
  42.   Allows the supervisor to create a bindery object.
  43. -------------------------------------------------------------------------------
  44. CreateProperty (BinderyObjectName : ObjectNameType;
  45.                 BinderyObjectType : OT_BinderyType;
  46.                 PropertyName : PropertyNameType;
  47.                 PropertyFlags, PropertySecurity : BYTE) : WORD;
  48.  
  49.   Adds a property to a bindery object.
  50. -------------------------------------------------------------------------------
  51. DeleteBinderyObject (BinderyObjectName : ObjectNameType;
  52.                      BinderyObjectType : OT_BinderyType) : WORD;
  53.  
  54.   Allows the supervisor to delete a bindery object.
  55. -------------------------------------------------------------------------------
  56. DeleteBinderyObjectFromSet (BinderyObjectName : ObjectNameType;
  57.                             BinderyObjectType : OT_BinderyType;
  58.                             PropertyName : PropertyNameType;
  59.                             MemberName : ObjectNameType;
  60.                             MemberType : OT_BinderyType) : WORD;
  61.  
  62.   Deletes a bindery object from a set property.
  63. -------------------------------------------------------------------------------
  64. DeleteProperty (BinderyObjectName : ObjectNameType;
  65.                 BinderyObjectType : OT_BinderyType;
  66.                 PropertyName : PropertyNameType) : WORD;
  67.  
  68.   Deletes properties from a bindery object.
  69. -------------------------------------------------------------------------------
  70. GetBinderyAccessLevel (VAR SecurityAccessLevel : BYTE; 
  71.                        VAR ObjectID : OT_BinderyID) : WORD;
  72.  
  73.   Returns the requesting workstation's access level to a file server's bindery.
  74. -------------------------------------------------------------------------------
  75. GetBinderyObjectID (BinderyObjectName : ObjectNameType;
  76.                     BinderyObjectType : OT_BinderyType;
  77.                     VAR ObjectID : OT_BinderyID) : WORD;
  78.  
  79.   Returns a bindery object's unique identification number.
  80. -------------------------------------------------------------------------------
  81. GetBinderyObjectName (ObjectID : OT_BinderyID;
  82.                       VAR BinderyObjectName : ObjectNameType;
  83.                       VAR BinderyObjectType : OT_BinderyType) : WORD;
  84.  
  85.   Returns the name and type of a bindery object.
  86. -------------------------------------------------------------------------------
  87. IsBinderyObjectInSet (BinderyObjectName : ObjectNameType;
  88.                       BinderyObjectType : OT_BinderyType;
  89.                       PropertyName : PropertyNameType;
  90.                       MemberName : ObjectNameType;
  91.                       MemberType : OT_BinderyType) : WORD;
  92.  
  93.   Determines if a bindery object is a member of a set property.
  94. -------------------------------------------------------------------------------
  95. OpenBindery : WORD;
  96.  
  97.   Allows the supervisor to open the bindery.
  98. -------------------------------------------------------------------------------
  99. ReadPropertyValue (BinderyObjectName : ObjectNameType;
  100.                    BinderyObjectType : OT_BinderyType;
  101.                    PropertyName : PropertyNameType; SegmentNumber : WORD;
  102.                    VAR PropertyValue : PropertyValueType; 
  103.                    VAR MoreSegments, PropertyFlags : BYTE) : WORD;
  104.  
  105.   Returns the value of a bindery object's item or set property.
  106. -------------------------------------------------------------------------------
  107. RenameBinderyObject (BinderyObjectName, NewBinderyObjectName : ObjectNameType;
  108.                      BinderyObjectType : OT_BinderyType) : WORD;
  109.  
  110.   Allows the supervisor to rename a bindery object.
  111. -------------------------------------------------------------------------------
  112. ScanBinderyObject (SearchObjectName : ObjectNameType; 
  113.                    SearchObjectType : OT_BinderyType; 
  114.                    VAR ObjectID : OT_BinderyID;
  115.                    VAR BinderyObjectName : ObjectNameType;
  116.                    VAR BinderyObjectType : OT_BinderyType;
  117.                    VAR ObjectHasProperties, ObjectFlags, 
  118.                    ObjectSecurity : BYTE) : WORD;
  119.  
  120.   NOTE : On initial call ObjectID must contain -1.
  121.   
  122.   Scans the bindery for an object.
  123. -------------------------------------------------------------------------------
  124. ScanBinderyObjectTrusteePaths (ObjectID : OT_BinderyID; VolumeNumber : BYTE;
  125.                                VAR SequenceNumber : WORD; 
  126.                                VAR TrusteeAccessMask : WORD;
  127.                                VAR TrusteePathName : PathNameType) : WORD;
  128.  
  129.   NOTE : On initial call SequenceNumber must contain 0.
  130.  
  131.   Returns the directory paths to which an object has trustee rights.
  132. --------------------------------------------------------------------------------
  133. ScanProperty (BinderyObjectName : ObjectNameType; 
  134.               BinderyObjectType : OT_BinderyType;
  135.               SearchPropertyName : PropertyNameType; 
  136.               VAR SequenceNumber : LONGINT;
  137.               VAR PropertyName : PropertyNameType; VAR PropertyFlags, 
  138.               PropertySecurity, PropertyHasValue, MoreProperties : BYTE) : WORD;
  139.  
  140.   NOTE : On initial call SequenceNumber must contain -1.
  141.  
  142.   Scans the bindery for an object's properties.
  143. -------------------------------------------------------------------------------
  144. VerifyBinderyObjectPassword (BinderyObjectName : ObjectNameType; 
  145.                              BinderyObjectType : OT_BinderyType;
  146.                              Password : PasswordType) : WORD;
  147.  
  148.   NOTE : DOES NOT WORK WITH ENCRYPTED PW
  149.  
  150.   Verifies that the password of a bindery object is valid.
  151. -------------------------------------------------------------------------------
  152. WritePropertyValue (BinderyObjectName : ObjectNameType;
  153.                     BinderyObjectType : OT_BinderyType;
  154.                     PropertyName : PropertyNameType; SegmentNumber : WORD;
  155.                     PropertyValue : PropertyValueType; 
  156.                     MoreSegments : BYTE) : WORD;
  157.  
  158.   Writes a value to an item or set property.
  159. -------------------------------------------------------------------------------
  160.