Beispiel #1
0
        internal MRSRequestWrapper(IConfigurationSession session, MRSRequestType type, string commonName)
        {
            base.RequestType = type;
            ADObjectId relativeContainerId = ADHandler.GetRelativeContainerId(type);

            base.SetId(session, relativeContainerId, commonName);
        }
Beispiel #2
0
        internal static ADObjectId GetRootId(IConfigurationSession configSession, MRSRequestType type)
        {
            if (!configSession.SessionSettings.IsTenantScoped && CommonUtils.IsMultiTenantEnabled())
            {
                return(null);
            }
            ADObjectId descendantId = configSession.GetOrgContainerId().GetDescendantId(ADHandler.RelativeMRSContainer);

            return(descendantId.GetDescendantId(ADHandler.GetRelativeContainerId(type)));
        }