xpxChangeMyUserBN
FUNCTION xpxChangeMyUserBN(userName : STRING; groupName : STRING; password : STRING; VAR unavailableMessage : STRING; VAR sessionUserKey : INTEGER) status : INTEGER;
The xpxChangeMyUserBN function connects a new EDMuser/EDMgroup without disconnecting the existing connection.
Arguments
Type | Name | Comment |
STRING | userName | specifies the name of an existing EDMuser account in the actual EDMdatabase. EDMuser account names are case insensitive. |
STRING | groupName | specifies the name of an existing EDMgroup account in the actual EDMdatabase. It is legal to connect to an EDMserver with <groupName> = NULL (empty). In this case no check on "group access rights" will be performed in the actual session. Models created when the creating user is connected without an EDMgroup specification will not get any "group owner".The EDMuser specified by the <userName> argument must be a member of the EDMgroup defined by the <groupName> argument. |
STRING | password | specifies the password for the EDMuser specified by the <userName> argument. Initially an EDMuser is created without any password. A password can be changed by the xpxChangePassword function. |
STRING | unavailableMessage | specifies the address to variable that will receive the address of a message that is returned when the edmiConnect fails, due to the fact that the EDMserver has been set unavailable by the xpxSetUnavailable function. The string returned is the argument supplied in the last xpxSetUnavailable function. |
INTEGER | sessionUserKey | This return value can be used in later xpxChangeMyUser calls to login the same user and group as the current user and group when the xpxChangeUserBN is executed. The 'sessionUserKey' is only valid in the same EDMvm session. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.
Options
Example
<Missing Example>
See also
Filter by label
There are no items with the selected labels at this time.