|
|
Articles / Forum - Can I select AD Groups from a table?
|
We hope you find the information below useful.
This is a forum-thread. Feel free to provide your response
and contribute to make this article better.
Share, wiki and grow!
| << Back to all Articles |
|
|
Can I select AD Groups from a table?
|
Posted by
Radha Krishnan on Feb 22, 03:23 PM |
|
Rate this article
|
|
|
Hi,
Currently my ActiveSync Form assigns AD groups based on the Department the employee belongs to, as shown below. I am wondering instead of having to hard code this either in the Form or Rule if it would be efficient to obtain this info from a table using a custom java calss. Can someone please clarify if this is a right approach or do you see any pitfall in this approach?
For instance,
<Field name='accounts[AW Domain].groups'> <Expansion> <switch> <ref>activeSync.dept</ref> <case> <s>IT</s> <List> <String>Group 1</String> <String>Group 2</String> </List> </case> <case> <s>ENGG</s> <List> <String>Group 3</String> <String>Group 4</String> </List> </case> <case default='true'> <List> <String>Group 5</String> </List> </case> </switch> </Expansion> </Field>
Thanks!
RK |
|
|
|
Can I select AD Groups from a table?
|
Posted by
Adi on Feb 25, 10:29 PM |
|
|
|
|
Hi RK,
It is always recommended to not hard-code Information that is dynamic in nature, so I think your thought of pulling the department-employee info from a database is a good idea.
The only contention here is that when information is being pulled from a database, the point of failure could be if the connection is lost (this might be a very low probability if the connection pools on the application server are well configured).
Another alternative is that the same information can be made available through a configuration object. By doing this, the availability of this data is "guaranteed" (if IDM cannot access the configuration object, it would not be able to access any other task/rule/subprocess either). With a neat interface to edit configuration objects (I would like to take this opportunity to market the Config-Editor utility available on this website :), this information may be updated on-the-fly too!
Finally I think, either way is a fine choice.
|
|
|
|
Can I select AD Groups from a table?
|
Posted by
Radha Krishnan on Feb 26, 09:04 AM |
|
|
|
|
|
Hi Adi,
Thanks so much for your valuable response!
Could you please give me some idea about as to how to maintain the group info in a Config object? Could we maintain all the group info of all the departments in a single Config object or should we maintain separate objects for each department? If separate objects, I think I know how to retrieve the group info but if they all can be in a single object, how would I retrieve the information for a specific department during run time? Please let me know when you find time.
Thanks!
RK |
|
|
|
|
The views expressed in this article are solely those of its contributor(s)
and are not necessarily endorsed by xpressutils.com.
|
<< Back to all Articles |
|
|
|
|
Feedback / Comments:
We value comments from XpressUtils users!
We strive to make this site better for you each day, so all constructive comments are appreciated.
Please feel free to send us your feedback!
|
| |
|
|
Submit a comment:
|
|
|