---
title: "getSessionProperty"
slug: "api/session/operations/getsessionproperty"
sidebar:
  order: 152
---

<a id="ref-54d7ddf7f8ec"></a>
<a id="ref-a505ee1042ff"></a>
<a id="ref-a82f8cfc08e6"></a>

## Synopsis

```text
string* getSessionProperty(SessionId sessionId, string name)
throws SessionServiceFault;
```

See also: [SessionId](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [SessionServiceFault](/pCon/configuratorOnline/specs/api/session/faults/sessionservicefault#ref-30a5c7817f4a)

This operation is used to get the current value of session-specific properties, converted to a string.

See §[setSessionProperty](/pCon/configuratorOnline/specs/api/session/operations/setsessionproperty#ref-772d0a71ad12) for a list of supported properties. The operation returns *null* if the property name is unknown.

If a property has not been set by the [`setSessionProperty`](/pCon/configuratorOnline/specs/api/session/operations/setsessionproperty) operation, the `getSessionProperty` operation returns the default value.

A [`SessionServiceFault`](/pCon/configuratorOnline/specs/api/session/faults/sessionservicefault) is returned if any of the following conditions occurs:

- The `sessionId` parameter is not a valid string representation of an UUID or does not represent an open session.
