HttpServerConnectionLogin Method |
Login into Innovator server.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.20.39432
Syntax public virtual Item Login()
Public Overridable Function Login As Item
public function Login() : Item
Return Value
Type:
Item"error" item if login failed; otherwise item representing logged-in user.
Remarks
Sends a login request to the Innovator server using properties (URL, db, user name, etc.)
of the instance. It's strongly recommended to call
Login()
before calling any other IOM method that sends a request to the Innovator server as in
case the Innovator server is configured with security settings (session timeout, etc.) an
attempt to send a request to server without prior login causes an exception.
When
ITokenProvider is provided to the instance and supports authorization session - the session will be started.
See Also