This function returns an environment variable. Services run as 'System' so they do not have access to 'User' environment variables.
Arguments:
as_varname - name of the variable
Return:
Value of the variable
Usage:
ls_path = of_GetEnvironmentVariable("Path")