// Token: 0x060013F0 RID: 5104 RVA: 0x00046318 File Offset: 0x00044518 internal static ExchangeRunspaceConfigurationSettings FromUriConnectionString(string connectionString, ExchangeRunspaceConfigurationSettings.ExchangeApplication defaultApplication, out string vdirPath) { Uri uri = new Uri(connectionString, UriKind.Absolute); vdirPath = ExchangeRunspaceConfigurationSettings.GetVDirPathFromUriLocalPath(uri); if (string.IsNullOrEmpty(uri.Query)) { return(ExchangeRunspaceConfigurationSettings.GetDefaultInstance()); } NameValueCollection nameValueCollectionFromUri = LiveIdBasicAuthModule.GetNameValueCollectionFromUri(uri); return(ExchangeRunspaceConfigurationSettings.CreateConfigurationSettingsFromNameValueCollection(uri, nameValueCollectionFromUri, defaultApplication)); }
public ExchangeRunspaceConfiguration CreateExchangeRunspaceConfiguration() { IIdentity identity = this.GetExecutingUserIdentity(); IIdentity identity2 = null; if (!string.IsNullOrEmpty(this.impersonatedUserSddl)) { identity2 = new GenericSidIdentity(this.impersonatedUserSddl, this.impersonatedAuthenticationType, new SecurityIdentifier(this.impersonatedUserSddl)); } ExchangeRunspaceConfiguration result; if (identity2 == null) { result = new ExchangeRunspaceConfiguration(identity); } else { result = new ExchangeRunspaceConfiguration(identity, identity2, ExchangeRunspaceConfigurationSettings.GetDefaultInstance(), this.roleTypeFilter, this.sortedRoleEntryFilter, this.logonUserRequiredRoleTypes, this.callerCheckedAccess); } return(result); }
// Token: 0x06001418 RID: 5144 RVA: 0x000489E9 File Offset: 0x00046BE9 public WebServiceRunspaceConfiguration(IIdentity identity) : base(identity, ExchangeRunspaceConfigurationSettings.GetDefaultInstance()) { }