Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 6944

Projection Code help, MV extension

$
0
0

Currently we are using some code to project into the MV from on of our MA's based on extaqnsionAttribute.

I tried to add to this code to create a second qualifier, but it is now wanting both and when I try to project it to the MV tells me that it is missing.

boolIMASynchronization.ShouldProjectToMV(CSEntrycsentry,outstringMVObjectType)

        {

if (csentry.ObjectType.Equals("group") &&
                Regex.Match(csentry["sAMAccountName"].Value, "SG-.+-Users").Success &&
                csentry["extensionAttribute8"].Value.Equals("bhold")||
                Regex.Match(csentry["sAMAccountName"].Value, "SG-*").Success &&

                csentry["extensionAttribute15"].Value.Equals("FIMPORTALGROUP"))

{

                MVObjectType ="group";

                returntrue;

}

                                  MVObjectType ="unknown"

               returnfalse;

    

Is what I tried... I cant seem to find what I did wrong it worked


Russell Lema


Viewing all articles
Browse latest Browse all 6944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>