AnnGroupsRoles Class Members

Summary

The following tables list the members exposed by AnnGroupsRoles.

Public Constructors

Name Description
Public Constructor static  | Shared in VB 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.
Public 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 static  | Shared in VB 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.1.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.