I used this method in WP8 to get the user property :
object userHashId;
UserExtendedProperties.TryGetValue("ANID2", out userHashId);
_userId = userHashId.ToString();
But I cannot find these in Windows Phone 8.1. Are there any new API for this , or any alternative.