StarterSTS Documentation

Profile configuration (profile.config)

This is a standard ASP.NET profile configuration section. All profile properties of the corresponding user get turned into claims when requesting a token from StarterSTS.

You can either manually edit this file, or use the IIS7 manager to create and modify the properties.

The corresponding configuration file looks like this:

<profile automaticSaveEnabled="false"
         defaultProvider="Profile">
  <providers>
    <add name="Profile"
         connectionStringName="ProviderDB"
         applicationName="/"
         type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  </providers>

 
  <!--
properties that should get turned into claims go here -->
  <
properties>
    <
add allowAnonymous="false"
        
defaultValue=""
        
name="WebPage"
        
readOnly="false"
        
serializeAs="String"
        
type="System.String" />
    <
add allowAnonymous="false"
        
defaultValue=""
        
name="TwitterName"
        
readOnly="false"
        
serializeAs="String"
        
type="System.String" />
  </
properties>
</
profile>

Some remarks