Top Method Summary
Options Name Purpose
Clear () Discards the credentials and the cached session cookies
OpenEdge.Net.HTTP.Cookie GetSessionCookie (character) Returns the session cookie for the web application at the given URL
CHARACTER GetWebUserName () Returns the user name for the web login
SetCredentials (character, character) Stores the credentials of the current user


Method Detail
Top

Clear ()

Purpose: Discards the credentials and the cached session cookies
Notes: Called by SessionManager:Reset

Top

OpenEdge.Net.HTTP.Cookie GetSessionCookie (character)

Purpose: Returns the session cookie for the web application at the given URL
Notes: Performs the form based login on the first request per login URL
(see FormBasedLoginHelper:GetDefaultLoginUrl) and caches the
resulting JSESSIONID cookie. The user is passed as user@domain
(first entry of the LoginCompanyTenantDomain of the current login
company) so that the SmartHybridRealm resolves the login company,
see GetWebUserName

Parameters:
pcUrl CHARACTER
The URL of the web application
Returns OpenEdge.Net.HTTP.Cookie
The session cookie or ? when no credentials are available
Top

CHARACTER GetWebUserName ()

Purpose: Returns the user name for the web login
Notes: Mirrors UserBusinessEntity:ValidateUser: when the current login
company has a multi-tenancy domain, the user name is passed as
user@domain (first entry of the domain list). The SmartHybridRealm
resolves the login company from that suffix; without it only a
global user (no login company) would be found

Returns CHARACTER
The user name for the web login
Top

SetCredentials (character, character)

Purpose: Stores the credentials of the current user
Notes: Called by the login form after a successful login. Cached session
cookies of a previous login are discarded

Parameters:
pcUserName CHARACTER
The user name
pcPassword CHARACTER
The password


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:07:45