public int GetUserIdFromContactId(string token, int contactId) { int pNum = Convert.ToInt32(ConfigurationManager.AppSettings["MyContact"]); var profile = MinistryPlatformService.GetRecordDict(pNum, contactId, token); return((int)profile["User_Account"]); }
public int GetUserIdFromContactId(int contactId) { var profile = MinistryPlatformService.GetRecordDict(_contactPageId, contactId, ApiLogin()); return((int)profile["User_Account"]); }