Removes a security equivalence from the specified object.
#include <nwnet.h> or #include <nwdsdsa.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSRemSecurityEquiv ( NWDSContextHandle context, pnstr8 equalFrom, pnstr8 equalTo);
uses netwin32 Function NWDSRemSecurityEquiv (context : NWDSContextHandle; equalFrom : pnstr8; equalTo : pnstr8 ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the name of the object whose Security Equivalence attribute is to be modified.
(IN) Points to the object name to be removed from the Security Equivalence attribute of the object specified by equalFrom.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
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.