gws.plugin.model_value.current_user¶
Current user.
Formats properties of the current user and returns them as a string.
If format is configured, it must be a Python format string with a reference
to the user param, e.g. "{user.displayName}_{user.isGuest}".
If no format is configured, user’s loginName is returned.
Source code: gws.plugin.model_value.current_user
Package Contents¶
- class gws.plugin.model_value.current_user.Config¶
Bases:
gws.base.model.value.ConfigCurrent user value configuration.
- format: str = ''¶
Format string.
- class gws.plugin.model_value.current_user.Object¶
Bases:
gws.base.model.value.Object- format: str¶
- compute(field, feature, mc)¶
- configure()¶