Get fullname

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54048 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-11-29 12:38:59 +00:00
parent 69d62575ac
commit b15b0028a7
1 changed files with 8 additions and 0 deletions

View File

@ -90,6 +90,14 @@ export class Session{
return null;
}
public static getUserFullName():string {
var user:User = this.getUserFromCookie();
if(user!=null){
return user.fullname;
}
return null;
}
public static setReloadUrl(host:string,path:string, params:string) {
var URL = {};
URL["host"]=host;