AcUtils
A high performance abstraction layer for AccuRev
List of all members
AcUtils.PropCollection Class Reference

The list of Active Directory user property field-title pairs from <prog_name>.exe.config. These are user properties not in the regular default set. More...

Collaboration diagram for AcUtils.PropCollection:
Collaboration graph
[legend]

Detailed Description

The list of Active Directory user property field-title pairs from <prog_name>.exe.config. These are user properties not in the regular default set.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="activeDir" type="AcUtils.ADSection, AcUtils, Version=1.6.4.0, Culture=neutral, PublicKeyToken=26470c2daf5c2e2f, processorArchitecture=MSIL" />
...
</configSections>
<activeDir>
<!-- contact your company LDAP administrator for these values -->
<domains>
<add host="xyzdc.mycorp.com" path="DC=XYZ,DC=xy,DC=zcorp,DC=com"/>
<add host="abcdc.mycorp.com" path="DC=ABC,DC=ab,DC=com"/>
...
</domains>
<properties>
<add field="mobile" title="Mobile" />
<add field="manager" title="Manager" />
<add field="department" title="Department" />
...
</properties >
</activeDir>
...
ADSection adSection = ConfigurationManager.GetSection("activeDir") as ADSection;
DomainCollection dc = adSection.Domains;
PropCollection pc = adSection.Props;
See also
AcUser.Other, DomainCollection
Attention
User properties require that AccuRev principal names match login names stored on the LDAP server.

Definition at line 56 of file PropCollection.cs.