Closed dhunink closed 9 years ago
Need a solid and fast way to get the username of the logged-in user. See below:
identMang = store.get("veldwerk_identmanager"); //Works: console.log(identMang.credentials); //Fails: console.log(identMang.credentials.userId);
Fixed by using portal.user.username. @mvanhulzen agree, or any other suggestions?
Need a solid and fast way to get the username of the logged-in user. See below:
identMang = store.get("veldwerk_identmanager"); //Works: console.log(identMang.credentials); //Fails: console.log(identMang.credentials.userId);