Пример #1
0
 public void UpdateUser(Dictionary <string, object> userUpdateValues)
 {
     MinistryPlatformService.UpdateRecord(Convert.ToInt32(ConfigurationManager.AppSettings["Users"]), userUpdateValues, ApiLogin());
 }
        public int GetUserIdFromContactId(int contactId)
        {
            var profile = MinistryPlatformService.GetRecordDict(_contactPageId, contactId, ApiLogin());

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