AD FS 2.0: Asserting the NameID Claim Type with Additional Properties

AD FS 2.0: Asserting the NameID Claim Type with Additional Properties

Overview

The SAML NameID claim type is a special claim type used to identify the principal of the session, and this claim type can be asserted containing only the value data, or you can also choose to assert additional NameID properties. Below, you will find a Claim
Rule Language sample, which can be used with AD FS 2.x and demonstrates the syntax needed in order to assert the NameID claim type while including other, optional NameID properties.