---
title: "GetOptionValue (Opus Funktion)"
---
[TOC]

#### Beschreibung

Returns the effective option value for the current user from the fast in-memory cache.

The cache is populated on first access and invalidated automatically after a save.

#### Argumente

<table style="table-layout: fixed; width: min(100%, 673px);"><colgroup><col style="width: 14.6%"><col style="width: 11.6%"><col style="width: 73.8%"></colgroup><tr><th><p><strong>Name</strong></p></th><th><p><strong>Typ</strong></p></th><th><p><strong>Beschreibung</strong></p></th></tr><tr><td><p> ModuleID</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a></p></td><td><p>unique numeric ID of the owning module (e.g. SSX_MyModuleID at runtime)</p></td></tr><tr><td><p> OptionID</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/">integer</a></p></td><td><p>numeric option ID constant (see SSE_OptionIDs.h, e.g. SSE_OPT_Language)</p></td></tr></table>

#### Rückgabewert [<u>string</u>](../../standard-datentypen/string.md)

current value of the option (empty string if not set)

#### Beispiel

`xxx`

#### Siehe auch

---
