Beispiel #1
0
 public static UserCourseRoleMappingModel GetUser(string userPrincipleName)
 {
     try
     {
         var user = SQLAdapter.GetUserMappingsByUPN(userPrincipleName);
         var ucrm = ModelMapper.MapToUserModel(user);
         return(ucrm);
     }
     catch (Exception e)
     {
         return(null);
     }
 }