Beispiel #1
0
        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"]);
        }
Beispiel #2
0
        public int GetUserIdFromContactId(int contactId)
        {
            var profile = MinistryPlatformService.GetRecordDict(_contactPageId, contactId, ApiLogin());

            return((int)profile["User_Account"]);
        }