Here is the json returning from controller through ajax
[{"UserID":"1","Username":"admin","Password":"#######","FullName":"Hassan","Email":"admin@admin.com","Phone":null,"Mobile":null,"PreviousAddress":null,"CNIC":null,"theme":null,"GroupID":"1"}]
i want to get values from the array.
I tried like this
success: function(data){
    console.log(data.UserID);
}
but i get undefined in the console.
 
     
     
    