NWDSAddSecurityEquiv

Adds to the specified object’s security equivalence.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or 
  #include <nwdsdsa.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSAddSecurityEquiv  ( 
     NWDSContextHandle   context,  
     pnstr8              equalFrom,  
     pnstr8              equalTo); 
  

Pascal

  uses netwin32 
   
  Function NWDSAddSecurityEquiv 
    (context : NWDSContextHandle; 
     equalFrom : pnstr8; 
     equalTo : pnstr8 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

equalFrom

(IN) Points to the name of the object that will receive security equivalence.

equalTo

(IN) Points to the name to be added to the Security Equivalence attribute of the object specified by equalFrom.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

Nonzero values indicate errors. See NDS Return Values (–001 to –799).

Remarks

If NWDSAddSecurityEquiv is successful, it will place the name of the object specified by equalTo into the Security Equals attribute of the object specified by the equalFrom parameter. (Security Equals is a multivalued attribute.)

If the object specified by the equalFrom parameter does not contain sufficient rights to add the security equivalence to its list, NWDSAddSecurityEquiv will return ERR_NO_ACCESS.

NCP Calls

See Also

NWDSRemSecurityEquiv