Chetan Badgujar
Chetan Badgujar

Reputation: 21

How Do I get windows system's logged in username in Angular app

I am new to angular 2.0. I made a simple app where I need to fetch system's (windows/iso) loggedin username.

Is it possible? if yes how? thanks in advance

Upvotes: 2

Views: 3317

Answers (1)

Wasif Khan
Wasif Khan

Reputation: 954

Nope, you can not get get Windows Logged in Username because AngularJS/Angular is a client side application and only has access to the variables that are delcared in the browser's window object.

Upvotes: 1

Related Questions