Skip to main content Skip to complementary content

getAuthenticatedUser method

global.getAuthenticatedUser(callback)

Method used to get information (user directory and user id) about the authenticated user.

Since:
  • 1.1

Parameters

Name Type Description
callback Function

Optional.

Callback method.

Returns

A promise.

Tip noteFor more information regarding a promise, see http://docs.angularjs.org/api/ng.$q.

Example

var global = qlik.getGlobal(config);
	global.getAuthenticatedUser(function(reply){
		alert('User:'+reply.qReturn);
	});

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!