none
How to declare/use multiple AD MAs inside MVExtenstion.cs RRS feed

  • Question

  • All,

    I have a situation where importing users from 4 different forests with the help of 4 AD MAs. What should be the next step to provision these users?

    sample code:
    -> const string MA_NAME_AD = "AD MA";
    -> inside ProvisionPersonAD ()
    {
    connectedMA ad_ma = mventry.connectedMAs[MA_NAME_AD];
    }
    kindly guide me and let me know if you need further details?


    Thursday, August 22, 2019 6:50 AM

Answers

  • You need to replace the value in MA_NAME_AD with the correct MA. You could have four constants if you want to follow that pattern and store the four names in them...

    Thanks,
    Brian

    Consulting | Blog | AD Book

    Thursday, August 22, 2019 10:15 PM
    Moderator

All replies