Editar

Partilhar via


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

Method Return Type Description
GET userPermission userPermission Gets a user permission object.
DELETE userPermission none Deletes a user permission object.
POST userPermission userPermission Creates a user permission object.
PATCH userPermission userPermission Updates a user permission object.
Navigation Return Type Description
user user Gets the user of the userPermission.
permissionSet permissionSet Gets the permissionset of the userPermission.
automationCompany automationCompany Gets the automationcompany of the userPermission.

Properties

Property Type Description
id GUID The unique ID of the user permission. Read-Only.
userSecurityId GUID The unique ID of the user security.
roleId string The unique ID of the user permission role.
displayName string Specifies the user permission's name. This name will appear on all sales documents for the user permission.
company string The company name.
appId GUID The ID of the App.
extensionName string The name of the extension.
scope string Scope 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