I have an object with the following key-value pairs:
{
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier': '918312asdasc812',
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name': 'Login1',
'http://schemas.microsoft.com/ws/2008/06/identity/claims/role': 'User'
}
How can I extract the value for the key 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier'?
Here is the solution:
obj['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier']