UserInfoCreateUserFromIdentity Method |
The UserInfo will contain : [Login], [SID if WindowsIdentity, or found in AD] and [PrincipalGuid, DisplayName, Email if found in AD].
Namespace: MicaSystems.Utils
public static UserInfo CreateUserFromIdentity( IIdentity identity, Dictionary<string, PrincipalContext> contextsCache = null )