Namespaces | Functions

src/Common/Lsa/LocalGroup.h File Reference

#include "Account.h"

Go to the source code of this file.

Namespaces

namespace  AppSecInc
namespace  AppSecInc::LSA
namespace  AppSecInc::LSA::LocalGroup
 

A local group.


Functions

void AppSecInc::LSA::LocalGroup::Create (const std::wstring &name, const std::wstring &servername=L"")
 create a local group
void AppSecInc::LSA::LocalGroup::Create (GROUP_INFO_1 gi, const std::wstring &servername=L"")
 create a local group
void AppSecInc::LSA::LocalGroup::Delete (const std::wstring &name, const std::wstring &servername=L"")
 delete a local group
bool AppSecInc::LSA::LocalGroup::Exists (const std::wstring &name, const std::wstring &servername=L"")
 returns true if a local group exists
void AppSecInc::LSA::LocalGroup::AddMember (const std::wstring &groupname, const std::wstring &username, const std::wstring &servername=L"")
 add a user to the local group
void AppSecInc::LSA::LocalGroup::DeleteMember (const std::wstring &groupname, const std::wstring &username, const std::wstring &servername=L"")
 add a user to the local group
bool AppSecInc::LSA::LocalGroup::IsMember (const std::wstring &groupname, const std::wstring &username, const std::wstring &servername=L"")
 check whether the user is a member of a group
std::vector< AccountAppSecInc::LSA::LocalGroup::GetMembers (const std::wstring &groupname, const std::wstring &servername=L"")
 get local group members


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com