RpcNsGroupDelete function
The RpcNsGroupDelete function deletes a group attribute.
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:
Value Meaning - 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:
| Value | Meaning |
|---|---|
|
The call succeeded. |
|
The name syntax is invalid. |
|
The name syntax is not supported. |
|
The name is incomplete. |
|
The name-service entry was not found. |
|
The name service is unavailable. |
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.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
RpcNsGroupDeleteW (Unicode) and RpcNsGroupDeleteA (ANSI) |
See also