edmiDefineServerContextProperty
Since:Â edmcore v602.131.32
EdmiError _CDECL edmiDefineServerContextProperty (SdaiServerContext serverContextId, SdaiInteger serverContextProperty, SdaiSelect serverContextPropertyValue);
Sets or updates a server context property.
The PersonName property defines the person logged on the EDMserver with actual SessionToken.
The PersonName may consist of a string with several fields. Example: "John Smith, CEO, EPMT"
The PersonName property will be used in the various logging function in EDMserver & EDMappServer.Â
This property is only valid when the actual server context has a SessionToken defined.
Arguments
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiInteger | serverContextProperty | /* Available serverContextProperty in the edmiDefineServerContextProperty() functions: */ #define SERV_CONTEXT_SESSION_TOKEN 01 #define SERV_CONTEXT_PERSON_NAME 02 #define SERV_CONTEXT_USER_NAME 04 #define SERV_CONTEXT_PASSWORD 010 /* setting the actual select struct element type = sdaiINDETERMINATE will unset the actual server context property */ |
SdaiSelect | serverContextPropertyValue | New property value |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Â
Options
 Â
Â
Example
Â
 EdmiError rstat; if (rstat = edmiDefineServerContextProperty(. . . ) { printf("\nError %d in edmiDefineServerContextProperty", rstat); goto err; } . . .
Â
Â
Example
Â
 EdmiError rstat; SdaiUnsignedInt serverContextId; . . . if (rstat = edmi. . . () { printf("\nError %d in edmi . . .", rstat); goto err; } . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â