AnnGroupsRoles Class Members

Summary

The following tables list the members exposed by AnnGroupsRoles.

Public Constructors

Name Description
AnnGroupsRoles Initializes a new instance of this class.

Public Methods

Name Description
generateRole.remove Event to trigger to generate role names from custom operations types.
getUserGroup Gets a list of all the groups the specified user belong to.
getUserRoles Gets a list of all the roles the specified user belong to.
isCurrentUserInRole Gets a value that indicate whether CurrentUser have enough roles to allow running the specified operation.
isUserInRole Gets a value that indicate whether the specified user have enough roles to allow running the specified operation.
onGenerateRole Invokes the GenerateRole event and return the new role name.

Public Properties

Name Description
currentUser Gets or sets the name of the current logged in user.
groupRoles Gets a dictionary which define the group (as the key) and the roles that belong to it (as a collection of roles).
groupUsers Gets a dictionary which defines a group (as the key) and the users that belong to it (as a collection of user names).
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly