#ifndef _NTSAM_H
_Check_return_
NTSTATUS
NTAPI
SamAddMemberToGroup(
_In_ SAM_HANDLE GroupHandle,
_In_ ULONG MemberId,
_In_ ULONG Attributes
);
View code on GitHub
This function is a wrapper over an RPC method documented in the [MS-SAMR] specification.