Connectivity Software User's Guide and Reference
UAPermissionAssignment Class Members
Properties  Methods 


OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.Security.Subject Namespace : UAPermissionAssignment Class

The following tables list the members exposed by UAPermissionAssignment.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)Permission assignment that allows anonymous users to view and authenticated users to view and modify.  
Public PropertyGets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from System.Collections.ObjectModel.KeyedCollection<TKey,TItem>)
Public PropertyGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public Propertystatic (Shared in Visual Basic)An empty permission assignment with no role permissions.  
Public Propertystatic (Shared in Visual Basic)Permission assignment that gives full access to everyone (anonymous users).  
Public PropertyOverloaded. Gets the element with the specified key. (Inherited from System.Collections.ObjectModel.KeyedCollection<TKey,TItem>)
Public Propertystatic (Shared in Visual Basic)Permission assignment based on the standard OPC UA roles with their base permissions.  
Public Propertystatic (Shared in Visual Basic)Permission assignment that allows anonymous users to view and trusted applications to view and modify.  
Top
Protected Properties
 NameDescription
Protected PropertyGets the lookup dictionary of the KeyedCollection. (Inherited from System.Collections.ObjectModel.KeyedCollection<TKey,TItem>)
Protected PropertyGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Top
Public Methods
 NameDescription
Public MethodOverloaded. Adds a role with the specified permissions to the permission assignment.  
Public MethodRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodOverridden.   
Public MethodOverloaded. Determines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.KeyedCollection<TKey,TItem>)
Public MethodCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodOverloaded. Overridden. Determines whether the current object is the same as other object.  
Public MethodOverloaded. Returns a filtered permission assignment containing only roles that the security principal has.  
Public MethodFinds the permissions assigned to the specified role.  
Public MethodReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodOverridden.   
Public MethodGets Ids of roles that provide the specified permissions.  
Public MethodOverloaded. Gets the combined permissions for all roles that the security principal has.  
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public MethodSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodIntersects this permission assignment with another, keeping only the roles that are common between the two assignments. For each common role, the permissions are combined using a bitwise AND operation, ensuring that only permissions present in both assignments are retained. This operation modifies the current permission assignment in place.  
Public MethodOverloaded. Removes the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.KeyedCollection<TKey,TItem>)
Public MethodRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<TItem>)
Public MethodRemoves all role permissions that have no permissions set (i.e., permissions equal to OpcLabs.EasyOpc.UA.UAPermissions.None).  
Public MethodOverridden.   
Public MethodCombines this permission assignment with another, combining permissions for common roles with a bitwise OR operation.  
Top
Protected Methods
 NameDescription
Protected MethodChanges the key associated with the specified element in the lookup dictionary. (Inherited from System.Collections.ObjectModel.KeyedCollection<TKey,TItem>)
Protected MethodAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object)
Protected MethodCreates a shallow copy of the current System.Object. (Inherited from object)
Top
Extension Methods
 NameDescription
Public Extension MethodSets the arbitrary object associated with the node.
Top
Public Operators
Determines whether the two objects are equal.
Determines whether the two objects are not equal.
Top
See Also

Reference

UAPermissionAssignment Class
OpcLabs.EasyOpc.UA.Security.Subject Namespace