13 void Create(
const std::wstring& name,
const std::wstring& servername = L
"");
15 void Create(GROUP_INFO_1 gi,
const std::wstring& servername = L
"");
17 void Delete(
const std::wstring& name,
const std::wstring& servername = L
"");
19 bool Exists(
const std::wstring& name,
const std::wstring& servername = L
"");
21 void AddMember(
const std::wstring& groupname,
const std::wstring& username,
const std::wstring& servername = L
"");
23 void DeleteMember(
const std::wstring& groupname,
const std::wstring& username,
const std::wstring& servername = L
"");
25 bool IsMember(
const std::wstring& groupname,
const std::wstring& username,
const std::wstring& servername = L
"");
27 std::vector<Account>
GetMembers(
const std::wstring& groupname,
const std::wstring& servername = L
"");
void DeleteMember(const std::wstring &groupname, const std::wstring &username, const std::wstring &servername=L"")
add a user to the local group
Definition: LocalGroup.cpp:59
bool IsMember(const std::wstring &groupname, const std::wstring &username, const std::wstring &servername=L"")
check whether the user is a member of a group
Definition: LocalGroup.cpp:71
void Create(const std::wstring &name, const std::wstring &servername=L"")
create a local group
Definition: LocalGroup.cpp:7
void Delete(const std::wstring &name, const std::wstring &servername=L"")
delete a local group
Definition: LocalGroup.cpp:21
bool Exists(const std::wstring &name, const std::wstring &servername=L"")
returns true if a local group exists
Definition: LocalGroup.cpp:27
std::vector< Account > GetMembers(const std::wstring &groupname, const std::wstring &servername=L"")
get local group members
Definition: LocalGroup.cpp:86
void AddMember(const std::wstring &groupname, const std::wstring &username, const std::wstring &servername=L"")
add a user to the local group
Definition: LocalGroup.cpp:47