Get user info

Your application can view the topic permissions for a user by using the getUserInfo task.

Your application might hide or disable the Save to Topic link if the user cannot save to Oracle Empirica Topics.

TopicsUserInfo value object

The TopicsUserInfo task has the following fields:
  • canSavetoTopics—True if a user can save to a topic. If true, your application can display the Save to Topic link.
  • canCreateTopic—True if a user can create a topic. If true, your application can enable fields to create a topic in the Save to Topic dialog box.
  • canAccessMultipleWorkteams—True if a user can select zero or more work teams for a new topic.

    If true, your application should not display the Work Team drop-down list in the Save to Topic dialog box.

    If false, then each new topic must be assigned to one work team. Your application must display a work team selector, such as a drop-down list, in the Save to Topic dialog box to assign the new topic to a work team.

  • canViewTopics—Reserved for future use.
  • allowedAttachments—A list of attachment types that a user can attach to a topic or action.

TopicsUserInfo JSON


{
    "username": "string",
    "canSaveToTopics": “boolean”,
    "canSaveToNewTopic": “boolean”,
    "canAccessMultipleWorkteams": “boolean”,
    "canViewTopics": “boolean”,
    "allowedAttachments": [
	“string”
    ]
}