←Select platform

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
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.

Protected Methods

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