Jump to: 

Overview

Email address (mail) is a user attribute defined in RFC4524. From RFC4524: "The mail (rfc822mailbox) attribute type holds Internet mail addresses in Mailbox RFC5321 form (e.g., user@example.com)."


OID0.9.2342.19200300.100.1.3
LDAP Syntax

IA5 String {256}

# of Valuesmulti-valued
ReferenceseduPerson, RFC4524

Use in the InCommon Federation

When working with InCommon Participants, an email address should only be used as a mean of contact. It is not a suitable user identifier (see: Why is email address not an appropriate user identifier?).

mail is a required attribute in the REFEDS Research & Scholarship (R&S) entity category

SAML Response Example

<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"         
                xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" 
                ID="..." Version="2.0" IssueInstant="2020-07-17T01:01:48Z" 
                Destination="..." InResponseTo="...">
  ...
  <saml:Assertion ...>
    ...
    <saml:AttributeStatement>
      <saml:Attribute xmlns:x500="urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500"
                      NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
                      Name="urn:oid:0.9.2342.19200300.100.1.3" FriendlyName="mail" 
                      x500:Encoding="LDAP">
         <saml:AttributeValue xsi:type="xsd:string">mjc@example.edu</saml:AttributeValue>
      </saml:Attribute>
      ...
    </saml:AttributeStatement>
  </saml:Assertion>
</samlp:Response>


See Also