SE_connection_get_user_name

Returns the user of the connection

Usage syntax

LONG SE_connection_get_user_name (SE_CONNECTION connection, CHAR *user_name);

Parameters
connection The connection handle
user_name The user name
Description

SE_connection_get_user_name returns the name of the user for the specified connection. Allocate at least SE_MAX_OWNER_LEN bytes to the user_name argument.

Returns

SE_SUCCESS
SE_INVALID_CONNECTION

SE_INVALID_POINTER

SE_NET_FAILURE

SE_SDE_NOT_STARTED