diff --git a/lib/cli/replcommand.cpp b/lib/cli/replcommand.cpp index 69c577c6a..ebf03007b 100644 --- a/lib/cli/replcommand.cpp +++ b/lib/cli/replcommand.cpp @@ -44,6 +44,11 @@ bool ReplCommand::IsHidden(void) const return true; } +ImpersonationLevel ReplCommand::GetImpersonationLevel(void) const +{ + return ImpersonateNone; +} + void ReplCommand::InitParameters(boost::program_options::options_description& visibleDesc, boost::program_options::options_description& hiddenDesc) const { diff --git a/lib/cli/replcommand.hpp b/lib/cli/replcommand.hpp index cbef3dfea..bff9504b8 100644 --- a/lib/cli/replcommand.hpp +++ b/lib/cli/replcommand.hpp @@ -38,6 +38,7 @@ public: virtual String GetDescription(void) const; virtual String GetShortDescription(void) const; virtual bool IsHidden(void) const; + virtual ImpersonationLevel GetImpersonationLevel(void) const; virtual void InitParameters(boost::program_options::options_description& visibleDesc, boost::program_options::options_description& hiddenDesc) const; virtual int Run(const boost::program_options::variables_map& vm, const std::vector& ap) const;