←Select platform

AnnGroupsRoles Class Members

Summary

The following tables list the members exposed by AnnGroupsRoles.

Public Constructors

Name Description
Public Constructor AnnGroupsRoles Initializes a new instance of this class.

Public Methods

Name Description
Public Method GetUserGroup Gets a list of all the groups the specified user belong to.
Public Method GetUserRoles Gets a list of all the roles the specified user belong to.
Public Method IsCurrentUserInRole Gets a value that indicate whether CurrentUser have enough roles to allow running the specified operation.
Public Method IsUserInRole Gets a value that indicate whether the specified user have enough roles to allow running the specified operation.

Protected Methods

Name Description
Protected Method OnGenerateRole Invokes the GenerateRole event and return the new role name.

Public Properties

Name Description
Public Property CurrentUser Gets or sets the name of the current logged in user.
Public Property GroupRoles Gets a dictionary which define the group (as the key) and the roles that belong to it (as a collection of roles).
Public Property GroupUsers Gets a dictionary which defines a group (as the key) and the users that belong to it (as a collection of user names).

Public Events

Name Description
Public Event GenerateRole Event to trigger to generate role names from custom operations types.

See Also

AnnGroupsRoles Class

Leadtools.Annotations.Engine Namespace

Help Version 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.