user-id in claims format

While adding users to access secure store in sharepoint 2013 with claims auth we need to provide user-id in claims format

say “i:0#.w|domainname\abcuserid”

<IdentityClaim>:0<ClaimType><ClaimValueType><AuthMode>|<OriginalIssuer (optional)>|<ClaimValue>

Example: i:05.t|saml provider|spuserid@contoso.lab

Where:

  • <IdentityClaim> indicates the type of claim and is the
    following:
  • i” for an identity claim
  • c” for any other claim
    • <ClaimType> indicates the format for the claim value and
      is the following:
    • #” for a user logon name
    • .” for an anonymous user
    • 5” for an email address
    • !” for an identity provider
    • +” for a Group security identifier (SID)
    • “ for a role
    • %” for a farm ID
    • ?” for a name identifier
    • \” for a private personal identifier (PPID)
      • <ClaimValueType> indicates the type of formatting for the
        claim value and is the following:
      • .” for a string
      • +” for an RFC 822-formatted name
        • <AuthMode> indicates the type of authentication used to
          obtain the identity claim and is the following:
        • w” for Windows claims (no original issuer)
        • s” for the local SharePoint security token service (STS)
          (no original issuer)
        • t” for a trusted issuer
        • m” for a membership issuer
        • r” for a role provider issuer
        • f” for forms-based authentication
        • c” for a claim provider
          • <OriginalIssuer> indicates the original issuer of the
            claim.
          • <ClaimValueType> indicates the value of the claim in the
            <ClaimType> format.

Reference – Claims User Id Format

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: