X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/60995b1933ff94757d2d29629f324d16070de1ea..61b81e9d4ef10c5445ace91fbdfc4d2c040e67d2:/include/stg/users.h diff --git a/include/stg/users.h b/include/stg/users.h index 765fc14d..3fb951e0 100644 --- a/include/stg/users.h +++ b/include/stg/users.h @@ -32,6 +32,8 @@ class USERS { public: virtual ~USERS() {} virtual int FindByName(const std::string & login, USER_PTR * user) = 0; + virtual int FindByName(const std::string & login, CONST_USER_PTR * user) const = 0; + virtual bool Exists(const std::string & login) const = 0; virtual bool TariffInUse(const std::string & tariffName) const = 0;