Each domain role gets a distinct role name.
每个域角色有一个不同的角色名。
Each domain role can be mapped to one or more community roles.
每个域角色可以被映射到一个或多个社区角色。
The CommunityObjectFactory is used to create the localized domain role instances.
CommunityObjectFactory用于创建本地化的域角色实例。
A community role can be mapped for each business component in the application to a particular domain role.
对于应用程序中的每个业务组件,一个社区角色可以映射到一个特定域角色。
Additionally, the article showed how and when a business component can create domain roles, and what APIs can be used to test when a user is assigned to a certain domain role.
此外本文还展示了业务组件如何以及何时创建域角色,以及当用户被分配给某个域角色时什么API可用于测试。
When a user works with the business component, the business component code is able to determine which domain role the user belongs to by calling the CommunityLocator method isUserInDomainRole.
当一个用户使用业务组件工作时,业务组件代码可以通过调用CommunityLocator方法 isUserInDomainRole确定该用户属于哪个域角色。
When a user works with the business component, the business component code is able to determine which domain role the user belongs to by calling the CommunityLocator method isUserInDomainRole.
当一个用户使用业务组件工作时,业务组件代码可以通过调用CommunityLocator方法 isUserInDomainRole确定该用户属于哪个域角色。
应用推荐