Interface IEnvironment
Exposes information about the Softadmin® system.
Namespace: Softadmin.Api
Assembly: Softadmin.Api.dll
Syntax
public interface IEnvironment
Properties
PluginsPath
Gets the path to the plugins directory of the web application.
Declaration
string PluginsPath { get; }
Property Value
Type | Description |
---|---|
System.String |
RequestHost
Gets the host component of the current request URL.
Declaration
string RequestHost { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This property is only set for login plugins. You can use it when login should vary behavior based on which binding the user accesses the system through.
RootPath
Gets the path to the root folder of the web application.
Declaration
string RootPath { get; }
Property Value
Type | Description |
---|---|
System.String |