AnnGroupsRoles Class Members

Summary

The following tables list the members exposed by AnnGroupsRoles.

Public Methods

Name Description
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).

Public Events

Name Description
generateRole Event to trigger to generate role names from custom operations types.
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize