AccessControlRule - Intergraph Smart 3D Web API - Customization & Programming - Hexagon PPM

Intergraph Smart 3D Admin Web API Programmers Reference

Language
English (United States)
Product
Intergraph Smart 3D Web API
Subproduct
Smart 3D Web APIs
Search by Category
Customization & Programming
Smart 3D Version
13

To create an AccessControlRule entity on the PermissionGroup of a Plant/Catalog:

POST

<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/PermissionGroupFolderChildren(‘PGRootFolder’)/PermissionGroups(‘PG1’)/AccessControlRules

Or

<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/ /PermissionGroups(‘PG1’)/AccessControlRules

{

"Role": "domain\\username",

"AccessRight": "Com.Ingr.S3dAdmin.V1.AccessRight.FullAccess"

}

Similarly, to create an AccessControlRule under a PermissionGroup of a Catalog:

<ServiceRoot>/Sites(‘MySiteAlias’)/Catalogs(‘CatalogA’)/PermissionGroupFolderChildren(‘CatalogPGRootFolder’)/ChildFolders("Level1 Folder")/PermissionGroups(‘PG1’)/AccessControlRules

{

"Role": "domain\\username",

"AccessRight": "Com.Ingr.S3dAdmin.V1.AccessRight.Write"

}

To create an AccessControlRule entity at the Plant/Catalog level:

POST

<ServiceRoot>/Sites(‘MySiteAlias’)/Plants(‘PlantA’)/AccessControlGroups

Or

<ServiceRoot>/Sites(‘MySiteAlias’)/Catalogs(‘CatalogA’)/AccessControlGroups

{

"Role": "domain\\username",

"AccessRight": "Com.Ingr.S3dAdmin.V1.AccessRight.FullAccess"

}