/// <summary>
 /// Check that the user has access
 /// </summary>
 /// <param name="userId"></param>
 /// <param name="functionId"></param>
 /// <returns></returns>
 public bool UserHasFunction(int userId, int functionId)
 {
     try
     {
         bool rtrn;
         using (var serviceClient = new NeonISGDataServiceClient(Configuration.ActiveNeonDataServiceEndpoint))
         {
             rtrn = serviceClient.UserHasFunction(userId, functionId);
         }
         return rtrn;
     }
     catch (Exception ex)
     {
         throw new Exception(string.Format("Error in SecurityVM.UserHasFunction() userId:{0} functionId:{1}", userId, functionId), ex);
     }
 }