ahmed elbarbary

ahmed elbarbary

  • NA
  • 1.6k
  • 278.3k

How to access value of userPass from array of object ?

Jan 11 2020 5:52 PM
How to access value of userPass from array of object using angular 7?
I need to access Property userPass from array of object 
I have variable from type any his name auth 
auth have array of object
I need to access property value from userpass
  1. auth is  
  2.   
  3. [{"userLoginID":0,"userName":"test","userMail":"[email protected]","userPass":"12345678","fkTeamID":0  
  4.   
  5. ,"isAdmin":false,"createdBy":0,"createdDate":"0001-01-01T00:00:00","isHidden":false}]  
I need to access userPass value meaning i need to access 12345678
so what i do to make that please using angular 7
thanks 

Answers (4)