userPermission resource type

Represents an user permission in Dynamics 365 Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET userPermissionuserPermissionGets a user permission object.
DELETE userPermissionnoneDeletes a user permission object.
POST userPermissionuserPermissionCreates a user permission object.
PATCH userPermissionuserPermissionUpdates a user permission object.
NavigationReturn TypeDescription
useruserGets the user of the userPermission.
permissionSetpermissionSetGets the permissionset of the userPermission.
automationCompanyautomationCompanyGets the automationcompany of the userPermission.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the user permission. Read-Only.
userSecurityIdGUIDThe unique ID of the user security.
roleIdstringThe unique ID of the user permission role.
displayNamestringSpecifies the user permission's name. This name will appear on all sales documents for the user permission.
companystringThe company name.
appIdGUIDThe ID of the App.
extensionNamestringThe name of the extension.
scopestringScope of the user permission.

JSON representation

Here is a JSON representation of the userPermission resource.

{
    "id": "GUID",
    "userSecurityId": "GUID",
    "roleId": "string",
    "displayName": "string",
    "company": "string",
    "appId": "GUID",
    "extensionName": "string",
    "scope": "string"
}

GET userPermission
DELETE userPermission
POST userPermission
PATCH userPermission