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

Published 11-01-2019 12:15 PM 49 Views
Microsoft

First published on MSDN on Oct 09, 2014

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>

 

 

 

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

%3CLINGO-SUB%20id%3D%22lingo-sub-972458%22%20slang%3D%22en-US%22%3EView%20what%20groups%20a%20user%20is%20a%20member%20of%20on%20a%20separate%20tab%20of%20the%20User%20Interface%20(Member%20Of%20Tab)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-972458%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Oct%2009%2C%202014%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThe%20following%20piece%20of%20XML%20Code%20can%20be%20used%20to%20add%20a%20Tab%20to%20the%20User%20Edit%20RCDC%20which%20allows%20users%20to%20quickly%20view%20which%20group%20a%20user%20is%20a%20member%20of.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CGROUPING%20name%3D%22%26quot%3BMemberOfGroup%26quot%3B%22%20caption%3D%22%26quot%3BMember%22%20of%3D%22%22%3E%20%3CBR%20%2F%3E%3CCONTROL%20name%3D%22%26quot%3BMemberOfDistributionGroups%26quot%3B%22%20typename%3D%22%26quot%3BUocListView%26quot%3B%22%20expandarea%3D%22%26quot%3Btrue%26quot%3B%22%20caption%3D%22%26quot%3BDistribution%22%20groups%3D%22%22%3E%20%3CBR%20%2F%3E%3CPROPERTIES%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BColumnsToDisplay%26quot%3B%22%20value%3D%22%26quot%3BDisplayName%2CEmail%2CDomain%2CDisplayedOwner%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BEmptyResultText%26quot%3B%22%20value%3D%22%26quot%3BThere%22%20are%3D%22%22%20no%3D%22%22%20groups%3D%22%22%20according%3D%22%22%20to%3D%22%22%20the%3D%22%22%20filter%3D%22%22%20definition.%3D%22%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BPageSize%26quot%3B%22%20value%3D%22%26quot%3B20%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BShowTitleBar%26quot%3B%22%20value%3D%22%26quot%3Btrue%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BShowActionBar%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BShowPreview%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BShowSearchControl%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BEnableSelection%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BSingleSelection%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BItemClickBehavior%26quot%3B%22%20value%3D%22%26quot%3B%22%20modelessdialog%3D%22%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BListFilter%26quot%3B%22%20value%3D%22%26quot%3B%2FGroup%5B(Type%3D'Distribution')%22%20and%3D%22%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3C%2FPROPERTIES%3E%20%3CBR%20%2F%3E%3C%2FCONTROL%3E%20%3CBR%20%2F%3E%3CCONTROL%20name%3D%22%26quot%3BMemberOfSecurityGroup%26quot%3B%22%20typename%3D%22%26quot%3BUocListView%26quot%3B%22%20expandarea%3D%22%26quot%3Btrue%26quot%3B%22%20caption%3D%22%26quot%3BSecurity%22%20groups%3D%22%22%3E%20%3CBR%20%2F%3E%3CPROPERTIES%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BColumnsToDisplay%26quot%3B%22%20value%3D%22%26quot%3BDisplayName%2CEmail%2CDomain%2CDisplayedOwner%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BEmptyResultText%26quot%3B%22%20value%3D%22%26quot%3BThere%22%20are%3D%22%22%20no%3D%22%22%20groups%3D%22%22%20according%3D%22%22%20to%3D%22%22%20the%3D%22%22%20filter%3D%22%22%20definition.%3D%22%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BPageSize%26quot%3B%22%20value%3D%22%26quot%3B20%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BShowTitleBar%26quot%3B%22%20value%3D%22%26quot%3Btrue%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BShowActionBar%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BShowPreview%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BShowSearchControl%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BEnableSelection%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BSingleSelection%26quot%3B%22%20value%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BItemClickBehavior%26quot%3B%22%20value%3D%22%26quot%3B%22%20modelessdialog%3D%22%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3CPROPERTY%20name%3D%22%26quot%3BListFilter%26quot%3B%22%20value%3D%22%26quot%3B%2FGroup%5B(Type%3D'Security')%22%20and%3D%22%22%3E%3C%2FPROPERTY%3E%20%3CBR%20%2F%3E%3C%2FPROPERTIES%3E%20%3CBR%20%2F%3E%3C%2FCONTROL%3E%20%3CBR%20%2F%3E%3C%2FGROUPING%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%23%23%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fconnector_space%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fblogs.msdn.com%2Fconnector_space%20%3C%2FA%3E%20%23%23%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-972458%22%20slang%3D%22en-US%22%3E%3CP%3EFirst%20published%20on%20MSDN%20on%20Oct%2009%2C%202014%20The%20following%20piece%20of%20XML%20Code%20can%20be%20used%20to%20add%20a%20Tab%20to%20the%20User%20Edit%20RCDC%20which%20allows%20users%20to%20quickly%20view%20which%20group%20a%20user%20is%20a%20member%20of.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-972458%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAnthonyMarsiglia%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Feb 20 2020 12:22 PM
Updated by: