SessionParameters

Collection elements:

Arbitrary
Iteration through collection using For each ... In ... Do operator is available to object. Session parameters are retrieved during iteration.

Properties:

<Session parameter name>

Methods:

Clear

Description:

Is a value of the SessionParameters global context property; you can use it to access the session parameter values.

Availability:

Server, thick client, external connection, Mobile application (server).
Exchange with server is possible.

Example:

// Setting the session parameter value.
SessionParameters.CurrentDepartment = "Manufacture";
// Receiving session parameter value
MyDepartment = SessionParameters.CurrentDepartment;
// Calling to the session parameter from data access restriction.
WHERE Department = &CurrentDepartment

See also:

Global context, property SessionParameters
Global context, event SessionParametersSetting

    

1C:Enterprise Developer's Community