public Guid GetUserIdByName(string tenantName, string username) { if (string.IsNullOrEmpty(tenantName)) { throw new ArgumentNullException("tenantName"); } if (string.IsNullOrEmpty(username)) { throw new ArgumentNullException("username"); } return(AuthenticationLogic.GetUserIdByName(tenantName, username)); }