CheckAccess
function CheckAccess(tco: TcHmi.Controls.System.baseTcHmiControl, AccessRightToCheck: string): boolean
The function CheckAccess checks whether the logged-in user has the right to access a control. Refer also to the description page for the corresponding API function.
Parameter
Name | Type | Description |
---|---|---|
tco | The control for which the right is to be checked. | |
AccessRightToCheck | The right that is to be checked. |
Return value
Type | Description |
---|---|
Values:
|
NuGet package: Beckhoff.TwinCAT.HMI.Functions
NuGet packages are available from version 1.12. |
Available from 1.8 |