Visual Guard Class Library Documentation

VGRolesInstance Members

VGRolesInstance overview

Public Instance Properties

AnonymousRole Gets the name of the role granted to a user during an anonymous session.
AnonymousRoleId Gets the unique identifier of the role granted to a user during an anonymous session.
ApplicationId Gets the Visual Guard unique identifier of the application managed by this instance.
ApplicationName Gets the name of the application managed by this instance.
DefaultRole Gets the name of the default role of the application.
DefaultRoleId Gets the unique identifier of the default role of the application.

Public Instance Methods

AddUsersToRoleOverloaded. Adds the specified users to the specified role.
AddUsersToRolesOverloaded. Adds the specified users to the specified roles.
AddUsersToRolesByIdOverloaded. Adds the specified Windows accounts to the specified roles.
AddUserToRoleOverloaded. Adds the specified user to the specified role.
AddUserToRoleByIdAdds the user specified by the repository id to the specified role.
AddUserToRolesOverloaded. Adds the specified user to the specified roles.
AddUserToRolesByIdAdds a user specified by repository id to the specified roles.
CreateRole Adds a new role to the repository.
DeleteRoleOverloaded. Deletes a role specified by its name from the repository.
FindUsersInRoleGets a list of users in a specified role where the user name contains the specified user name to match.
FindUsersInRoleByIdGets a list of users in a specified role where the user name contains the specified user name to match.
GetAllPermissionSetsGets a list of the permission set fro the application.
GetAllRolesGets a list of all the roles for the application.
GetAllRolesAsCollectionGets a VGRoleCollection object representing the list of all the roles for the application.
GetPermissionSet Gets a permission set for the application
GetRoleOverloaded. Gets a role for the application.
GetRolesForUserOverloaded. Gets a list of the roles that the currently logged-on user is in.
GetRolesForUserByIdGets a list of the roles that a user is in.
GetUsersInRoleOverloaded. Gets a list of users in the specified role.
IsUserInRoleOverloaded. Gets a value indicating whether the currently logged-on user is in the specified role.
IsUserInRoleByIdGets a value indicating whether the specified user is in the specified role.
RemoveUserFromRoleOverloaded. Removes the specified user from the specified role.
RemoveUserFromRoleByIdRemoves a list of users specified specified by repository id from the specified role.
RemoveUserFromRolesOverloaded. Removes the specified user from the specified list of roles.
RemoveUserFromRolesByIdRemoves the specified user from the specified roles.
RemoveUsersFromRoleOverloaded. Removes the specified user from the specified list of roles.
RemoveUsersFromRoleByIdRemoves a list of users specified specified by repository id from the specified role.
RemoveUsersFromRolesOverloaded. Removes the specified Windows accounts from the specified roles.
RemoveUsersFromRolesByIdOverloaded. Removes the specified Windows accounts from the specified roles.
RoleExists Checks whether a role exists in the current repository for the application
UpdateRole Updates the repository with the information for the specified role.

See Also

VGRolesInstance Class | Novalys.VisualGuard.Security.Membership Namespace