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

Add new user to an AD group

$
0
0

Hi all,

I'm starting with FIM 2010, and I need to do a procedure that adds all new users (created in the current day) to an AD group (let's saynewUsersGroup).

In my environment, I have the following connectors: AD MA, AD Group MA (with the respective c# extentions) and a provisionning extention calledMVExtention.dll

My idea is to search each MV entry and if the attribute CreationDate (a better approach in my case would be read the Connector SpacecreateTimeStamp attribute) is the same as the current date, then add the user to mynewUsersGroup

I tought that a good idea is to use the MVExtention.dll to do it, but I'm not sure how to do the add the person in a group in this extention. When I'm in my AD Group MA extention, I normally do (where csentry is my group in the Connector Space):

csentry["member"].Values.Add(DNMember);

Can someone please help me with this one?

Thanks in advance for your help,

Marc





Viewing all articles
Browse latest Browse all 1783

Trending Articles