Connectivity Software User's Guide and Reference
RemoveEmptyPermissions Method



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.Security.Subject Namespace > UAPermissionAssignment Class : RemoveEmptyPermissions Method
Removes all role permissions that have no permissions set (i.e., permissions equal to OpcLabs.EasyOpc.UA.UAPermissions.None).
Syntax
'Declaration
 
Public Sub RemoveEmptyPermissions() 
'Usage
 
Dim instance As UAPermissionAssignment
 
instance.RemoveEmptyPermissions()
public void RemoveEmptyPermissions()
public:
void RemoveEmptyPermissions(); 
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also