Partager via


View what groups a user is a member of on a separate tab of the User Interface (Member Of Tab)

The following piece of XML Code can be used to add a Tab to the User Edit RCDC which allows users to quickly view which group a user is a member of.

<my:Grouping my:Name="MemberOfGroup" my:Caption="Member Of" my:Enabled="true" my:Visible="true">
   <my:Control my:Name="MemberOfDistributionGroups" my:TypeName="UocListView" my:ExpandArea="true" my:Caption="Distribution Groups">
        <my:Properties>
          <my:Property my:Name="ColumnsToDisplay" my:Value="DisplayName,Email,Domain,DisplayedOwner" />
          <my:Property my:Name="EmptyResultText" my:Value="There are no groups according to the filter definition." />
          <my:Property my:Name="PageSize" my:Value="20" />
          <my:Property my:Name="ShowTitleBar" my:Value="true" />
          <my:Property my:Name="ShowActionBar" my:Value="false" />
          <my:Property my:Name="ShowPreview" my:Value="false" />
          <my:Property my:Name="ShowSearchControl" my:Value="false" />
          <my:Property my:Name="EnableSelection" my:Value="false" />
          <my:Property my:Name="SingleSelection" my:Value="false" />
          <my:Property my:Name="ItemClickBehavior" my:Value=" ModelessDialog " />
          <my:Property my:Name="ListFilter" my:Value="/Group[(Type='Distribution') and ((ComputedMember='%ObjectID%') or (ExplicitMember='%ObjectID%'))]" />
        </my:Properties>
      </my:Control>
     <my:Control my:Name="MemberOfSecurityGroup" my:TypeName="UocListView" my:ExpandArea="true" my:Caption="Security Groups">
        <my:Properties>
          <my:Property my:Name="ColumnsToDisplay" my:Value="DisplayName,Email,Domain,DisplayedOwner" />
          <my:Property my:Name="EmptyResultText" my:Value="There are no groups according to the filter definition." />
          <my:Property my:Name="PageSize" my:Value="20" />
          <my:Property my:Name="ShowTitleBar" my:Value="true" />
          <my:Property my:Name="ShowActionBar" my:Value="false" />
          <my:Property my:Name="ShowPreview" my:Value="false" />
          <my:Property my:Name="ShowSearchControl" my:Value="false" />
          <my:Property my:Name="EnableSelection" my:Value="false" />
          <my:Property my:Name="SingleSelection" my:Value="false" />
          <my:Property my:Name="ItemClickBehavior" my:Value=" ModelessDialog " />
          <my:Property my:Name="ListFilter" my:Value="/Group[(Type='Security') and ((ComputedMember='%ObjectID%') or (ExplicitMember='%ObjectID%'))]" />
        </my:Properties>
      </my:Control>
    </my:Grouping>

 

## https://blogs.msdn.com/connector_space ##