O'Reilly Forums: Reading A Config File C# - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Reading A Config File C#

#1 User is offline   C#2010VS 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 29-July 10

Posted 29 July 2010 - 06:50 AM

Hi,

I am in need of some help on reading a config file and exposing their properties so that it can be used in other classes.

Please have a look at this config file and give me some ideas on how to go about getting this done.

<?xml version="1.0" encoding="utf-8" ?>


<apCCPConfiguration>
<ProviderInternalName> ADFSV2ap </ProviderInternalName>
<ProviderDisplayName> Arial Party </ProviderDisplayName>
<ClaimTypes>

<ClaimType Name = "User" Schema="http://schemas.ap.com/claims/apID" ValueType="String" EntityType="User" Validation="ProfileDb" HierarchyDisplayName="Users" HierarchyInternalName="ADFSV2ap_Users" />

<ClaimType Name = "Group" Schema = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" ValueType="String" EntityType="User" Validation="ProfileDb" HierarchyDisplayName="Groups" HierarchyInternalName="ADFSV2ap_Groups" />

</ClaimTypes>

<AttributeListUrl>http://.../Lists/CCPAttributes</AttributeListUrl>
<AttributeValueListUrl>http://.../Lists/CCPAttributeValues</AttributeValueListUrl>

<DisplayProperties>

<DisplayProperty> LastName </DisplayProperty>
<DisplayProperty> FirstName </DisplayProperty>
<DisplayProperty> Office </DisplayProperty>
<DisplayProperty> Title </DisplayProperty>
<DisplayProperty> Department </DisplayProperty>
<DisplayProperty> Email </DisplayProperty>
<DisplayProperty> apIN </DisplayProperty>

</DisplayProperties>

</apCCPConfiguration>



Thanks

Regards
K


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users