User management service

0 votes
I just impletemented App42API. I have one question. Is there any way to get advanced user data with login? Thank you any help.
asked May 30, 2016 in Discuss & suggest API by jinri1218 (10 points)
for example,
UserService *userService = App42API::BuildUserService();
map<string,string>otherMetaHeaders;  
otherMetaHeaders["emailAuth"] = "true";
otherMetaHeaders["advancedData"] = "true";
userService->setOtherMetaHeaders(otherMetaHeaders);
userService->Authenticate(email.c_str(), password.c_str(),
        app42callback(TestClass::testFunc, this));
Also want to know how I can update advanced data.

1 Answer

0 votes

Hi Jin,

 

Yes, it is possible to get the advance user data in the authenticating function call,  the same question is answered in this post. Please have a look into it and about your second query, you can update that user data by using the addOrUpdateKey method of Storage service, Please click here for the code snippet and let me know if you require any other help from my side.

 

I will be happy to assist you!!!

Regards,

Himanshu Sharma 

answered May 31, 2016 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...