get_principal_security_context
Read a user or team profile with direct roles and visible team memberships, preserving partial or forbidden sources; use get_record_access for native record-level rights.
Instructions
Read a user/team profile, direct roles and bounded visible team memberships/roles. Preserves partial/forbidden sources and business-unit role identities. Does not reconstruct all inherited/group/shared/field privileges; use get_record_access for native record rights.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_principal_security_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleLimit | No | Compatibility alias for role_limit; conflicting values are rejected. | |
| teamLimit | No | Compatibility alias for team_limit; conflicting values are rejected. | |
| role_limit | No | Maximum role rows per direct/team source, default 50. | |
| team_limit | No | Maximum visible teams, default 10. | |
| principalId | No | Compatibility alias for principal_id; conflicting values are rejected. | |
| principal_id | No | ||
| principalType | No | Compatibility alias for principal_type; conflicting values are rejected. | |
| principal_type | No | Default systemuser. Without a systemuser ID, inspects the current authenticated user. | |
| includeTeamRoles | No | Compatibility alias for include_team_roles; conflicting values are rejected. | |
| include_team_roles | No | Read roles for visible user teams, default true. | |
| environment_profile | No | Optional named environment profile for this call; omit to use the configured default. |