Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

RpcNsGroupDelete function

The RpcNsGroupDelete function deletes a group attribute.

Note  This function is not supported on Windows Vista and later operating systems.

Syntax


RPC_STATUS RPC_ENTRY RpcNsGroupDelete(
  unsigned long GroupNameSyntax,
  unsigned char *GroupName
);

Parameters

GroupNameSyntax

Integer value that indicates the syntax of GroupName. Can be set to one of the following values:

ValueMeaning
RPC_C_NS_SYNTAX_DEFAULT

Use the syntax specified in the registry value HKEY_LOCAL_MACHINE\ Software\Microsoft\Rpc\ NameService\ DefaultSyntax

RPC_C_NS_SYNTAX_DCE

Use DCE syntax.

 

GroupName

Pointer to the name of the name-service group to delete.

Return value

This function returns one of the following values:

ValueMeaning
RPC_S_OK

The call succeeded.

RPC_S_INVALID_NAME_SYNTAX

The name syntax is invalid.

RPC_S_UNSUPPORTED_NAME_SYNTAX

The name syntax is not supported.

RPC_S_INCOMPLETE_NAME

The name is incomplete.

RPC_S_ENTRY_NOT_FOUND

The name-service entry was not found.

RPC_S_NAME_SERVICE_UNAVAILABLE

The name service is unavailable.

 

Note  For a list of valid error codes, see RPC Return Values.

Remarks

The RpcNsGroupDelete function deletes the group attribute from the specified name service–database entry.

Neither the specified name service–database entry nor the group members are deleted.

Note  This DCE function is not supported by Microsoft Locator. Windows NT and Windows 2000 both support the use of this function, but with Cell Directory Service (CDS) only.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcnsi.h (include Rpc.h)

Library

Rpcns4.lib

DLL

Rpcns4.dll

Unicode and ANSI names

RpcNsGroupDeleteW (Unicode) and RpcNsGroupDeleteA (ANSI)

See also

RpcNsGroupMbrAdd
RpcNsGroupMbrRemove

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.