webdav portal sp fixes
This commit is contained in:
parent
c5c60314a4
commit
fe391560cb
3 changed files with 39 additions and 4 deletions
|
@ -2684,13 +2684,13 @@ namespace WebsitePanel.EnterpriseServer
|
|||
);
|
||||
}
|
||||
|
||||
public static IDataReader GetExchangeAccountByAccountNameWithoutItemId(string primaryEmailAddress)
|
||||
public static IDataReader GetExchangeAccountByAccountNameWithoutItemId(string userPrincipalName)
|
||||
{
|
||||
return SqlHelper.ExecuteReader(
|
||||
ConnectionString,
|
||||
CommandType.StoredProcedure,
|
||||
"GetExchangeAccountByAccountNameWithoutItemId",
|
||||
new SqlParameter("@PrimaryEmailAddress", primaryEmailAddress)
|
||||
new SqlParameter("@UserPrincipalName", userPrincipalName)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -1217,10 +1217,10 @@ namespace WebsitePanel.EnterpriseServer
|
|||
return account;
|
||||
}
|
||||
|
||||
public static ExchangeAccount GetAccountByAccountName(string primaryEmailAddress)
|
||||
public static ExchangeAccount GetAccountByAccountName(string userPrincipalName)
|
||||
{
|
||||
ExchangeAccount account = ObjectUtils.FillObjectFromDataReader<ExchangeAccount>(
|
||||
DataProvider.GetExchangeAccountByAccountNameWithoutItemId(primaryEmailAddress));
|
||||
DataProvider.GetExchangeAccountByAccountNameWithoutItemId(userPrincipalName));
|
||||
|
||||
if (account == null)
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue