edmiGetMySessionToken

edmiGetMySessionToken

Since: edmcore v602.131.32

 

SdaiString _CDECL edmiGetMySessionToken (void);

Gets edmi session token for current edmi session.

The edmiGetMySessionToken() and edmiGetMyPersonName() functions are implemented to enable EDMappServer plug-ins to fetch the "sessionToken" and "personName" properties from the actual used server context. The returned string is located in a static internal buffer, one static buffer for each of these functions. Hence, the calling program should not free these strings by calling edmiFree(). In case the actual server context does not have any value for the actual property NULL is returned from the actual function call.

Arguments


Type

Name

Comment

none

 

 

Return Value


Options


 

Example


 

 char *token =edmiGetMySessionToken();

 

 See also