![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
All ITK functions of group AM supported by T4x. More...
Functions | |
AM_check_privilege ObjectTag PrivilegeString | |
This function calls the ITK pipe server function AM_check_privilege to check the defined privilege for an object of the current user. Checks if the current user has the specified privilege on the specified object. The rule tree is traversed to determine whether the privilege is granted or not. The verdict is set to true if the privilege is granted and to false if the privilege is revoked. Note that the union of all the user's groups and roles is used and if the user is granted the privilege via any of these groups or roles, the verdict is specified as true. More... | |
AM_check_users_privilege UserTag ObjectTag PrivilegeString | |
This function calls the ITK pipe server function AM_check_users_privilege to check the defined privilege for an object of a given user. Checks if the specified user has the specified privilege on the specified object. The rule tree is traversed to determine whether the privilege is granted or not. The verdict is set to true if the privilege is granted and to false if the privilege is revoked. Note that the union of all the user's groups and roles is used and if the user is granted the privilege via any of these groups or roles, the verdict is specified as true. More... | |
All ITK functions of group AM supported by T4x.
This group specifies all ITK functions of group AM for which wrappers have been defined in T4x
ITK::AM_check_privilege | ObjectTag PrivilegeString | ||
This function calls the ITK pipe server function AM_check_privilege to check the defined privilege for an object of the current user. Checks if the current user has the specified privilege on the specified object. The rule tree is traversed to determine whether the privilege is granted or not. The verdict is set to true if the privilege is granted and to false if the privilege is revoked. Note that the union of all the user's groups and roles is used and if the user is granted the privilege via any of these groups or roles, the verdict is specified as true.
ObjectTag | Tag of object instance to be checked |
PrivilegeString | Choices are READ, WRITE, DELETE, CHANGE, PROMOTE, DEMOTE, COPY, IMPORT, EXPORT, TRANSFER_IN and TRANSFER_OUT |
Sample code sequence
ITK::AM_check_users_privilege | UserTag ObjectTag PrivilegeString | ||
This function calls the ITK pipe server function AM_check_users_privilege to check the defined privilege for an object of a given user. Checks if the specified user has the specified privilege on the specified object. The rule tree is traversed to determine whether the privilege is granted or not. The verdict is set to true if the privilege is granted and to false if the privilege is revoked. Note that the union of all the user's groups and roles is used and if the user is granted the privilege via any of these groups or roles, the verdict is specified as true.
UserTag | Tag of user |
ObjectTag | Tag of object instance to be checked |
PrivilegeString | Choices are READ, WRITE, DELETE, CHANGE, PROMOTE, DEMOTE, COPY, IMPORT, EXPORT, TRANSFER_IN and TRANSFER_OUT |
Sample code sequence