class documentation

class UserAuthorization(UserIdentity, Protocol):

Known subclasses: server.protocols.UserProtocol

View In Hierarchy

Represents a user's authorization state.

Method current_access_level.setter Undocumented
Property current_access_level Current access level of the user.
Property maximum_access_level Maximum access level the user may be assigned.
Property priority Authorization priority.
Property role The user's asyncua role.

Inherited from UserIdentity:

Property full_name Absolute username.
Property name Unique username.
def current_access_level(self, access_level: int):

Undocumented

@property
current_access_level: int =

Current access level of the user.

Read/write. The value must be between 0 and maximum_access_level.

@property
maximum_access_level: int =

Maximum access level the user may be assigned.

@property
priority: int =

Authorization priority.

Read-only. Higher values take precedence when resolving authorization conflicts.

@property
role: UserRole =

The user's asyncua role.

Read-only. Always UserRole.User for normal users. Internal user uses UserRole.Admin.