Microsoft Forefront TechCenter > Forefront Forums > Forefront Identity Manager 2010 > How do I setup an Attribute to be Unique in a Resource Type?

Answered How do I setup an Attribute to be Unique in a Resource Type?

  • Wednesday, March 10, 2010 11:00 AM
     
     
    I have created a new Resource Type in FIM. I want each resource to be unique. How can I do that?

    I have noticed that a check is performed for uniqueness of a user. Accountname + Domain must be unique.

Answers

All Replies

  • Wednesday, March 10, 2010 1:25 PM
     
     Answered

    To check that an attribute is unique on creation, you can create a custom Authentication Workflow that can perform the check for the attribute and authorize or not the creation/modification of the resource object.

    However, if you only want to check it at creation only, you can modify the RCDC as it is describe here :
    http://social.technet.microsoft.com/Forums/en/ilm2/thread/cc51ca7a-908c-40bf-ae10-f47711dd321b

    • Marked As Answer by Willy Hansen Thursday, March 11, 2010 8:52 AM
    •  
  • Wednesday, March 10, 2010 8:32 PM
     
     
    Uniqueness check using RCDC is per attribute only. You can check for uniqueness of account name and domain individually in the respective controls. You cannot check univqueness of accountname+Domain in one control for accountname.

    Thanks,
    Sri
  • Thursday, March 11, 2010 8:53 AM
     
     
    Thanks,

    The check on creation is sufficient by now.


    Willy