User Mgr: Update GetUserInfo to read ldap user privilege

Without this fix privilege mapping was fetched from the standalone
mapper application. Now with the recent changes privilege
mapping is part of the config object itself.

This fix is to address that change.

TestedBy:
1.Added privilege mapper for ldap user and
then GetUserInfo for ldap user and verified
if privilege is correct.
2.Created local user and verified local user info
through GetUserInfo and check privilege.

Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
Change-Id: Ie149cc1ef46370a899aa8312ce17448b6c00c0e9
diff --git a/user_mgr.hpp b/user_mgr.hpp
index 7409b73..4c24201 100644
--- a/user_mgr.hpp
+++ b/user_mgr.hpp
@@ -37,13 +37,15 @@
 using GroupList = std::vector<std::string>;
 using UserEnabled = bool;
 using PropertyName = std::string;
+using ServiceEnabled = bool;
 
 using UserInfo = std::variant<Privilege, GroupList, UserEnabled>;
 using UserInfoMap = std::map<PropertyName, UserInfo>;
 
 using DbusUserObjPath = sdbusplus::message::object_path;
 
-using DbusUserPropVariant = sdbusplus::message::variant<Privilege>;
+using DbusUserPropVariant =
+    sdbusplus::message::variant<Privilege, ServiceEnabled>;
 
 using DbusUserObjProperties =
     std::vector<std::pair<PropertyName, DbusUserPropVariant>>;