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:
parent
69d62575ac
commit
b15b0028a7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue