Oracle WebCenter Interaction Development Kit (IDK) 10.3.0.0.0

RemoteSessionFactory.GetExplicitLoginContext Method (Uri, String, String, Int32)

Returns an IRemoteSession with the same security context in the portal as the specified user.

public static IRemoteSession GetExplicitLoginContext(
   Uri endpoint,
   string username,
   string password,
   int sessionDurationInMinutes
);

Parameters

endpoint
The SOAP endpoint.
username
The username whose security context to use.
password
The user's password.
sessionDurationInMinutes
The number of minutes the session is valid. sessionDurationInMinutes must be positive and no greater than one day (60 * 24).

Return Value

An IRemoteSession object representing the current session with the portal.

Exceptions

Exception Type Condition
ArgumentException sessionDurationInMinutes is less than one or greater than one day (60 * 24).
PortalException The operation resulted in an error on the portal.
HttpException The endpoint URL is not valid.

See Also

RemoteSessionFactory Class | Plumtree.Remote.PRC Namespace | RemoteSessionFactory.GetExplicitLoginContext Overload List