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

Customization of RmGroup in Microsoft.ResourceManagement.ObjectModel

$
0
0

Hi everybody...

I would like to know if anybody here already has customized the RmGroup Class in Microsoft.ResourceManagement.ObjectModel?

I am trying to create a web page to bulk import groups to FIM, but I have some custom atributes in my schema.

When i try to add a multivalued attibute (reference) its only imports the last atribute.

the code that i am using is like this:

for (int member = 0; member < AuthOrigMembers.Length; member++ )
{
    String personXPath = String.Format("Person[(DisplayName = '{0}') or (AccountName = '{0}')]", AuthOrigMembers[member].ToString());
    RmResource MemberID = null;
    foreach (RmResource resource in DC2.Enumerate(personXPath))
    {
       MemberID = resource;
       break;
    }
    newGroup["AuthOrig"] = new RmAttributeValue(MemberID.ObjectID);
}

In atribute Owner the code works fine.

Any Idea?


***** Paulo H. Campos - São Paulo/Brasil ***** http://identitypedia.blogspot.com (in PT-BR)



Viewing all articles
Browse latest Browse all 4767

Trending Articles



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