Loading
保護您的 Salesforce 組織
目錄
選取篩選

          沒有結果
          沒有結果
          以下是搜尋小祕訣

          檢查關鍵字的拼字。
          使用較常見的搜尋字詞。
          選取較少篩選條件以擴大您的搜尋。

          搜尋所有 Salesforce 說明
          範例 SAML 判斷

          範例 SAML 判斷

          Salesforce 支援您的身分提供者傳送的數個 SAML 判斷式格式,但是有特定功能的額外需求,例如加密的判斷式和及時 (JIT) 佈建。若要協助您的身分提供者判斷與您的 Salesforce 組織搭配使用的 SAML 判斷式格式,請共用這些範例。

          必要版本

          提供版本:Salesforce Classic 與 Lightning Experience

          「聯合驗證」適用於下列版本:所有版本

          「委派驗證」適用於下列版本:ProfessionalEnterprisePerformanceUnlimitedDeveloperDatabase.com Edition

          「驗證提供者」可用於:ProfessionalEnterprisePerformanceUnlimitedDeveloper Edition

          需要的使用者權限
          檢視設定: 「檢視設定和組態」權限
          編輯設定:

          自訂應用程式

          修改所有資料

          必須使用 RSA 及 SHA-1 或 SHA-256,按照 XML 簽署規格簽署 SAML 判斷式。

          除了一般單一登入 (SSO) 範例之外,可將下列範例用於特定功能。

          • 已加密 SAML 的判斷式
          • 入口網頁的判斷式
          • Salesforce 網站的判斷式
          • JIT 佈建的判斷式

          一般 SSO 範例

          「SAML 使用者識別碼」類型為 Salesforce 使用者名稱,而「SAML 使用者識別碼」位置為 <Subject> 元素中的 <NameIdentifier> 元素
          <saml:Subject>
              <saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">user101@salesforce.com</saml:NameID>
              <saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
                  <saml:SubjectConfirmationData NotOnOrAfter="2008-06-26T02:44:24.173Z" Recipient="http://localhost:9000"/>
              </saml:SubjectConfirmation>
          </saml:Subject>
          「SAML 使用者識別碼」類型為 Salesforce 使用者名稱,而「SAML 使用者識別碼」位置為 <Attribute> 元素
          <saml:AttributeStatement>
              <saml:Attribute FriendlyName="fooAttrib" Name="SFDC_USERNAME" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                  <saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">
                      user101@salesforce.com
                  </saml:AttributeValue>
              </saml:Attribute>
           </saml:AttributeStatement>
          「SAML 使用者識別碼」類型是 Salesforce 使用者物件的 FederationIdentifier 欄位,而「SAML 使用者識別碼」位置是 <Subject> 元素中的 <NameIdentifier> 元素
          <saml:Subject>
              <saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">MyName</saml:NameID>
              <saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
                  <saml:SubjectConfirmationData NotOnOrAfter="2008-06-26T02:48:25.730Z" Recipient="http://localhost:9000/"/>
              </saml:SubjectConfirmation>
          </saml:Subject>
          備註
          備註 名稱識別元可以是任何字串,包含電子郵件位址或數字 ID 字串。
          SAML 使用者識別碼類型是 Salesforce 使用者物件的 FederationIdentifier 欄位,而 SAML 使用者識別碼位置是 <Attribute> 元素
          <saml:AttributeStatement>
              <saml:Attribute FriendlyName="fooAttrib" Name="SFDC_ATTR" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                  <saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">
                      user101
                  </saml:AttributeValue>
              </saml:Attribute>
          </saml:AttributeStatement>
          「SAML 使用者識別碼」類型為 Salesforce 使用者名稱,而「SAML 使用者識別碼」位置為 <Subject> 元素中的 <NameIdentifier> 元素
          以下是完整的 SAML 回應:
          <samlp:Response ID="_257f9d9e9fa14962c0803903a6ccad931245264310738" 
             IssueInstant="2009-06-17T18:45:10.738Z" Version="2.0">
          <saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
             https://www.salesforce.com
          </saml:Issuer>
          
          <samlp:Status>
             <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
          </samlp:Status>
          
          <saml:Assertion ID="_3c39bc0fe7b13769cab2f6f45eba801b1245264310738" 
             IssueInstant="2009-06-17T18:45:10.738Z" Version="2.0">
             <saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
                https://www.salesforce.com
             </saml:Issuer>
          
             <saml:Signature>
                <saml:SignedInfo>
                   <saml:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                   <saml:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
                   <saml:Reference URI="#_3c39bc0fe7b13769cab2f6f45eba801b1245264310738">
                      <saml:Transforms>
                         <saml:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
                         <saml:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
                            <ec:InclusiveNamespaces PrefixList="ds saml xs"/>
                         </saml:Transform>
                      </saml:Transforms>
                      <saml:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                      <saml:DigestValue>vzR9Hfp8d16576tEDeq/zhpmLoo=
                      </saml:DigestValue>
                   </saml:Reference>
                </saml:SignedInfo>
                <saml:SignatureValue>
                   AzID5hhJeJlG2llUDvZswNUrlrPtR7S37QYH2W+Un1n8c6kTC
                   Xr/lihEKPcA2PZt86eBntFBVDWTRlh/W3yUgGOqQBJMFOVbhK
                   M/CbLHbBUVT5TcxIqvsNvIFdjIGNkf1W0SBqRKZOJ6tzxCcLo
                   9dXqAyAUkqDpX5+AyltwrdCPNmncUM4dtRPjI05CL1rRaGeyX
                   3kkqOL8p0vjm0fazU5tCAJLbYuYgU1LivPSahWNcpvRSlCI4e
                   Pn2oiVDyrcc4et12inPMTc2lGIWWWWJyHOPSiXRSkEAIwQVjf
                   Qm5cpli44Pv8FCrdGWpEE0yXsPBvDkM9jIzwCYGG2fKaLBag==
                </saml:SignatureValue>
                <saml:KeyInfo>
                   <saml:X509Data>
                      <saml:X509Certificate>
                         MIIEATCCAumgAwIBAgIBBTANBgkqhkiG9w0BAQ0FADCBgzELM
                         [Certificate truncated for readability...]
                      </saml:X509Certificate>
                   </saml:X509Data>
                </saml:KeyInfo>
             </saml:Signature>
          
             <saml:Subject>
                <saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">
                   saml01@salesforce.com
                </saml:NameID>
          
                <saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
                <saml:SubjectConfirmationData NotOnOrAfter="2009-06-17T18:50:10.738Z" 
                   Recipient="https://login.salesforce.com"/>
                </saml:SubjectConfirmation>
             </saml:Subject>
          
             <saml:Conditions NotBefore="2009-06-17T18:45:10.738Z" 
                NotOnOrAfter="2009-06-17T18:50:10.738Z">
          
                <saml:AudienceRestriction>
                   <saml:Audience>https://saml.salesforce.com</saml:Audience>
                </saml:AudienceRestriction>
             </saml:Conditions>
          
             <saml:AuthnStatement AuthnInstant="2009-06-17T18:45:10.738Z">
                <saml:AuthnContext>
                   <saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified
                   </saml:AuthnContextClassRef>
                </saml:AuthnContext>
             </saml:AuthnStatement>
          
             <saml:AttributeStatement>
          
                <saml:Attribute Name="portal_id">
                   <saml:AttributeValue xsi:type="xs:anyType">060D00000000SHZ
                   </saml:AttributeValue>
                </saml:Attribute>
          
                <saml:Attribute Name="organization_id">
                   <saml:AttributeValue xsi:type="xs:anyType">00DD0000000F7L5
                   </saml:AttributeValue>
                </saml:Attribute>
          
                <saml:Attribute Name="ssostartpage" 
                   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
          
                   <saml:AttributeValue xsi:type="xs:anyType">
                      http://www.salesforce.com/security/saml/saml20-gen.jsp
                   </saml:AttributeValue>
                </saml:Attribute>
          
                <saml:Attribute Name="logouturl" 
                   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
          
                   <saml:AttributeValue xsi:type="xs:string">
                      http://www.salesforce.com/security/del_auth/SsoLogoutPage.html
                   </saml:AttributeValue>
                </saml:Attribute>
             </saml:AttributeStatement>
          </saml:Assertion>
          </samlp:Response>

          已加密 SAML 的範例判斷式

          如果您設定您的組織解密身分提供者的加密的 SAML 判斷式,這些範例很有用。

          已加密判斷式的預期標記為 <EncryptedAssertion>

          如果您設定加密的判斷式,您的身分提供者必須加密整個判斷式。但是,Salesforce 僅支援其中一層的加密。例如,您無法將 <NameID> 加密至 <EncryptedID>,然後加密整個判斷式。

          以下是含 <EncryptedData><EncryptedKey> 的已加密 SAML 判斷式範例。

          <saml:EncryptedAssertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> 
             <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="Encrypted_DATA_ID"   Type="http://www.w3.org/2001/04/xmlenc#Element">   
                <xenc:EncryptionMethod   Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                   <ds:RetrievalMethod URI="#Encrypted_KEY_ID" Type="http://www.w3.org/2001/04/xmlenc#EncryptedKey"/>
                </ds:KeyInfo>
                <xenc:CipherData >   
                   <xenc:CipherValue>Nk4W4mx...</xenc:CipherValue>   
                </xenc:CipherData>
             </xenc:EncryptedData>   
             <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="Encrypted_KEY_ID">   
                <xenc:EncryptionMethod   Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
                <xenc:CipherData>   
                   <xenc:CipherValue>PzA5X...</xenc:CipherValue>   
                </xenc:CipherData>   
                <xenc:ReferenceList>
                   <xenc:DataReference URI="#Encrypted_DATA_ID"/>
                </xenc:ReferenceList>   
             </xenc:EncryptedKey>   
          </saml:EncryptedAssertion>

          以下是含 <EncryptedData><EncryptedKey> 的已加密 SAML 判斷式範例。

          <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">
             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc" />
            <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
             <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
              <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" />
              <xenc:CipherData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
               <xenc:CipherValue>HWm..</xenc:CipherValue>
              </xenc:CipherData>
             </xenc:EncryptedKey>
             …
           </xenc:EncryptedData>
          

          適用於 Experience Cloud 網站的範例 SAML 判斷式

          以下是 Experience Cloud 網站的 SAML 判斷式範例。

          <?xml version="1.0" encoding="UTF-8"?>
          <saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:xs="http://www.w3.org/2001/XMLSchema" Destination="https://<mydomainvalue>.my.site.com/login" ID="_6aaedcfc-110ed330" IssueInstant="2023-05-16T21:53:41.040Z" Version="2.0">
              <saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">IssuerValue</saml2:Issuer>
              <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                  Signature omitted for brevity
              </ds:Signature>
              <saml2p:Status>
                  <saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
              </saml2p:Status>
              <saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" ID="_187bec3f-3542a4eb" IssueInstant="2023-05-16T21:53:41.040Z" Version="2.0">
                  <saml2:Issuer>IssuerValue</saml2:Issuer>
                  <saml2:Subject>
                      <saml2:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">user@example.com</saml2:NameID>
                      <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
                          <saml2:SubjectConfirmationData NotOnOrAfter="2023-05-16T21:54:41.040Z" Recipient="https://<mydomainvalue>.my.site.com/login"/>
                      </saml2:SubjectConfirmation>
                  </saml2:Subject>
                  <saml2:Conditions NotBefore="2023-05-16T21:53:41.040Z" NotOnOrAfter="2023-05-16T21:54:41.040Z">
                      <saml2:AudienceRestriction>
                          <saml2:Audience>EntityIDValue</saml2:Audience>
                      </saml2:AudienceRestriction>
                  </saml2:Conditions>
                  <saml2:AuthnStatement AuthnInstant="2023-05-16T21:53:41.040Z">
                      <saml2:AuthnContext>
                          <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml2:AuthnContextClassRef>
                      </saml2:AuthnContext>
                  </saml2:AuthnStatement>
              </saml2:Assertion>
          </saml2p:Response>

          入口網頁的範例 SAML 判斷式

          以下是 SAML 判斷陳述式的一部分,顯示 portal_idorganization_id 屬性。

          <saml:AttributeStatement>
             <saml:Attribute Name="portal_id">
                <saml:AttributeValue xsi:type="xs:anyType">060D00000000SHZ</saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="organization_id">
                   <saml:AttributeValue xsi:type="xs:anyType">00DD0000000F7P5</saml:AttributeValue>
             </saml:Attribute>
          </saml:AttributeStatement>
          

          以下是入口網頁 SSO 的完整 SAML 判斷陳述式。範例組織使用聯合登入,其包含在屬性中,而非主體中。請在判斷式中以粗體顯示的 <saml:AttributeStatement>

          <samlp:Response ID="_f97faa927f54ab2c1fef230eee27cba21245264205456" 
                IssueInstant="2009-06-17T18:43:25.456Z" Version="2.0">
             <saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
                https://www.salesforce.com</saml:Issuer>
          
             <samlp:Status>
                <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
             </samlp:Status>
          
             <saml:Assertion ID="_f690da2480a8df7fcc1cbee5dc67dbbb1245264205456"
                IssueInstant="2009-06-17T18:45:10.738Z" Version="2.0">
                <saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
                   https://www.salesforce.com
                </saml:Issuer>
          
                <saml:Signature>
                   <saml:SignedInfo>
                      <saml:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                      <saml:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
                      <saml:Reference URI="#_f690da2480a8df7fcc1cbee5dc67dbbb1245264205456">
                         <saml:Transforms>
                            <saml:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
                            <saml:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
                               <ec:InclusiveNamespaces PrefixList="ds saml xs"/>
                            </saml:Transform>
                         </saml:Transforms>
                         <saml:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                         <saml:DigestValue>vzR9Hfp8d16576tEDeq/zhpmLoo=
                         </saml:DigestValue>
                      </saml:Reference>
                   </saml:SignedInfo>
                   <saml:SignatureValue>
                      AzID5hhJeJlG2llUDvZswNUrlrPtR7S37QYH2W+Un1n8c6kTC
                      Xr/lihEKPcA2PZt86eBntFBVDWTRlh/W3yUgGOqQBJMFOVbhK
                      M/CbLHbBUVT5TcxIqvsNvIFdjIGNkf1W0SBqRKZOJ6tzxCcLo
                      9dXqAyAUkqDpX5+AyltwrdCPNmncUM4dtRPjI05CL1rRaGeyX
                      3kkqOL8p0vjm0fazU5tCAJLbYuYgU1LivPSahWNcpvRSlCI4e
                      Pn2oiVDyrcc4et12inPMTc2lGIWWWWJyHOPSiXRSkEAIwQVjf
                      Qm5cpli44Pv8FCrdGWpEE0yXsPBvDkM9jIzwCYGG2fKaLBag==
                   </saml:SignatureValue>
                   <saml:KeyInfo>
                      <saml:X509Data>
                         <saml:X509Certificate>
                            MIIEATCCAumgAwIBAgIBBTANBgkqhkiG9w0BAQ0FADCBgzELM
                            Certificate truncated for readability...
                         </saml:X509Certificate>
                      </saml:X509Data>
                   </saml:KeyInfo>
                </saml:Signature>
          
                <saml:Subject>
                   <saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">null
                   </saml:NameID>
          
                   <saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
                   <saml:SubjectConfirmationData NotOnOrAfter="2009-06-17T18:48:25.456Z" 
                      Recipient="https://login.salesforce.com/?saml=02HKiPoin4f49GRMsOdFmhTgi
                      _0nR7BBAflopdnD3gtixujECWpxr9klAw"/>
                      </saml:SubjectConfirmation>
                </saml:Subject>
          
                <saml:Conditions NotBefore="2009-06-17T18:43:25.456Z" 
                   NotOnOrAfter="2009-06-17T18:48:25.456Z">
          
                   <saml:AudienceRestriction>
                      <saml:Audience>https://saml.salesforce.com</saml:Audience>
                   </saml:AudienceRestriction>
                </saml:Conditions>
          
                <saml:AuthnStatement AuthnInstant="2009-06-17T18:43:25.456Z">
          
                   <saml:AuthnContext>
                      <saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified
                      </saml:AuthnContextClassRef>
                   </saml:AuthnContext>
                </saml:AuthnStatement>
          
                <saml:AttributeStatement>
          
                   <saml:Attribute FriendlyName="Friendly Name" Name="federationId" 
                      NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                      <saml:AttributeValue xsi:type="xs:string">saml_portal_user_federation_id
                      </saml:AttributeValue>
                      <saml:AttributeValue xsi:type="xs:string">SomeOtherValue
                      </saml:AttributeValue>
                   </saml:Attribute>
          
                   <saml:Attribute Name="portal_id">
                      <saml:AttributeValue xsi:type="xs:anyType">060D00000000SHZ
                      </saml:AttributeValue>
                   </saml:Attribute>
          
                   <saml:Attribute Name="organization_id">
                      <saml:AttributeValue xsi:type="xs:anyType">00DD0000000F7Z5
                      </saml:AttributeValue>
                   </saml:Attribute>
          
                   <saml:Attribute Name="ssostartpage" 
                      NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
          
                      <saml:AttributeValue xsi:type="xs:anyType">
                         http://www.salesforce.com/qa/security/saml/saml20-gen.jsp
                      </saml:AttributeValue>
                   </saml:Attribute>
          
                   <saml:Attribute Name="logouturl" 
                      NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
          
                      <saml:AttributeValue xsi:type="xs:string">
                          http://www.salesforce.com/qa/security/del_auth/SsoLogoutPage.html
                      </saml:AttributeValue>
                   </saml:Attribute>
                </saml:AttributeStatement>
             </saml:Assertion>
          </samlp:Response>

          Salesforce 網站的範例 SAML 判斷式

          以下是顯示 portal_idorganization_idsiteurl 屬性的 SAML 判斷陳述式。

          <saml:AttributeStatement>
             <saml:Attribute Name="portal_id">
                <saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" 
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                   xsi:type="xs:anyType">060900000004cDk
                </saml:AttributeValue>
             </saml:Attribute>
             <saml:Attribute Name="organization_id">
                <saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" 
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                   xsi:type="xs:anyType">00D900000008bX0
                </saml:AttributeValue></saml:Attribute>
             <saml:Attribute Name="siteurl">
                <saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" 
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                   xsi:type="xs:anyType">https://MyDomainName.my.site.com/mySuffix</saml:AttributeValue>
             </saml:Attribute>
          </saml:AttributeStatement>
          

          JIT 佈建的範例 SAML 判斷式

          以下是 JIT 佈建的範例 SAML 判斷式。

          <saml:AttributeStatement>
          
             <saml:Attribute Name="User.Username" 
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">testuser@123.org
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.Phone" 
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">415-123-1234
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.FirstName"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">Testuser
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.LanguageLocaleKey"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">en_US
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.CompanyName"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">Salesforce.com
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.Alias"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">tlee2
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.CommunityNickname"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">tlee2
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.UserRoleId"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">000000000000000
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.Title"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">Mr.
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.LocaleSidKey"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">en_CA
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.Email"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">testuser@salesforce.com
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name=" User.FederationIdentifier"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">tlee2
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.TimeZoneSidKey"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">America/Los_Angeles
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.LastName"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">Lee
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.ProfileId"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">00ex0000001pBNL
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.IsActive"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">1
                </saml:AttributeValue>
             </saml:Attribute>
          
             <saml:Attribute Name="User.EmailEncodingKey"
                NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
                <saml:AttributeValue xsi:type="xs:anyType">UTF-8
                </saml:AttributeValue>
             </saml:Attribute>
          
          </saml:AttributeStatement>
          
           
          正在載入
          Salesforce Help | Article