コード例 #1
0
 public IActionResult GetUserPrincipal(string username, string pw)
 {
     _logger.Information("START PasswordController.GetUserPrincipal: ");
     try
     {
         var obj = _passwordChangeProvider.GetUserPrincipal(username, pw);
         return(Json(obj));
     }
     catch (Exception e)
     {
         return(Json(e.Message));
     }
 }