1. A method for providing an application with a service attribute associated with a user, comprising:
- receiving a request from the application for the service attribute associated with the user;
- obtaining a role service level for a role associated with the user using a role service level template;
- obtaining an organization service level for an organization associated with the user using an organization service level template;
- determining whether the organization service level and the role service level match; and
- if the role service level and the organization service level do not match:
- determining a priority of the organization service level and a priority of the role service level using a priority template, wherein the priority template is configured to store priority information associated with the role service level and the organization service level;
- providing the service attribute associated with the organization service level, if the priority of the organization service level is higher than the priority of the role service level; and
- providing the service attribute associated with the role service level, if the priority of the role service level is higher than the priority of the organization service level;
- if the role service level and the organization service level match:
- providing the service attribute using one selected from the group consisting of the role service level and the organization service level.
2. The method of claim 1, wherein the role is associated with the organization.
3. The method of claim 1, wherein the service attribute comprises at least one selected from the group consisting of cost, an amount of storage space, an access to web mail, and an access to calendaring.
4. The method of claim 1, wherein providing the service attribute from the role service level comprises obtaining the service attribute from a class of service template.
5. The method of claim 4, wherein the class of service template comprises a premium service level, a deluxe service level, a promotional service level, and a basic service level.
6. The method of claim 1, wherein providing the service attribute from the organization service level comprises obtaining the service attribute from a class of service template.
7. The method of claim 6, wherein the class of service template comprises a premium service level, a deluxe service level, a promotional service level, and a basic service level.
8. A system, comprising:
- an organization service template configured to store a plurality of organization service levels and a role service template configured to store a plurality of role service levels, wherein each of the plurality of role service levels and each of the plurality of organization service levels is associated with a class of service;
- a class of service template configured to store a plurality of class of service levels, wherein each of the plurality of class of service levels comprises a service attribute; and
- a directory server comprising a hierarchical data store associating a user with an organization and a role, wherein the directory server comprises class of service logic configured to determine the service attribute associated with the user using the class of service template, the organization service template, and the role service template.
9. The system of claim 8, further comprising:
- a priority template configured to store priority information associated with each of the plurality of role service levels and each of the plurality of organization service levels.
10. The system of claim 9, wherein the class of service logic uses the priority template to determine whether the plurality of the role service levels or the plurality of the organization service level has a higher priority, if the role service level and the organization service level are different.
11. The system of claim 10, wherein the service attribute associated with one of the plurality of the role service levels is provided to an application, if the priority of the plurality of role service levels is higher than the priority of the plurality of organization service levels.
12. The system of claim 10, wherein the service attribute associated with one of the plurality of organization service levels is provided to an application, if the priority of the plurality of organization service levels is higher than the priority of the plurality of the role service levels.
13. The system of claim 8, further comprising:
- an application configured to request the service attribute associated with the user.
14. The system of claim 8, wherein the directory server is used for a portal application.
15. The system of claim 8, wherein the service attribute comprises at least one selected from the group consisting of a cost of a service, an amount of storage space, an access to web mail, and an access to calendaring.
16. The system of claim 8, wherein the class of service levels comprise a premium service level, a deluxe service level, a promotional service level, and a basic service level.
17. A computer system, comprising:
- a processor;
- a memory;
- a storage device; and
- software instructions stored in the memory for enabling the computer system under control of the processor, to:
- receive a request from the application for the service attribute associated with the user;
- obtain a role service level for a role associated with the user using a role service level template;
- obtain an organization service level for an organization associated with the user using an organization service level template;
- determine whether the organization service level and the role service level match; and
- if the role service level and the organization service level do not match:
- determine a priority of the organization service level and a priority of the role service level using a priority template, wherein the priority template is configured to store priority information associated the role service level and the organization service level;
- provide the service attribute associated with the organization service level, if the priority of the organization service level is higher than the priority of the role service level; and
- provide the service attribute associated with the role service level, if the priority of the role service level is higher than the priority of the organization service level;
- if the role service level and the organization service level match:
- provide the service attribute using one selected from the group consisting of the role service level and the organization service level.