Last post Sep 27, 2007 09:17 AM by Raffee
Sep 26, 2007 07:31 AM|Raffee|LINK
How can I differentiate between a business OU and a consumer OU? I have a list of OU's and a user can select to subscribe any of them to Hosted Email service, but I need to know if it is the business OU or a consumer OU in order to supply the proper plans.
Does anyone have an idae how to do this?
Sep 27, 2007 09:17 AM|Raffee|LINK
For those of you who are still interested in this topic, here is a solution I found out:
You inquire the MPS for the Active Directory plans that this organization has. Any organization has only one AD plan, either of type ADBusinessOrg or ADConsumerOrg.
Thus you can tell whether you have a business ou or a consumer ou.
<?xml version="1.0" encoding="utf-8"?>
<execute namespace="Managed Plans" procedure="GetPlansByCustomer" impersonate="1">
<before source="data" destination="executeData" mode="merge" />
<after source="executeData" destination="data" mode="merge" />