NWDSRemSecurityEquiv

Removes a security equivalence from the specified object.

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)  NWDSRemSecurityEquiv  ( 
     NWDSContextHandle   context,  
     pnstr8              equalFrom,  
     pnstr8              equalTo); 
  

Pascal

  uses netwin32 
   
  Function NWDSRemSecurityEquiv 
    (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 whose Security Equivalence attribute is to be modified.

equalTo

(IN) Points to the object name to be removed from 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 NWDSRemSecurityEquiv is successful, it will remove the name of the object specified by equalTo from the Security Equals attribute of the object specified by equalFrom. (Security Equals is a multivalued attribute.)

If the caller of the function does not have sufficient rights to the object specified by equalFrom, NWDSAddSecurityEquiv will return ERR_NO_ACCESS.

NCP Calls

See Also

NWDSAddSecurityEquiv