Click or drag to resize

VGRoles Class

Note: This API is now obsolete.

Manages user membership in roles for authorization checking in a WinForm application.
Inheritance Hierarchy
SystemObject
  Novalys.VisualGuard.Security.MembershipVGRoles

Namespace:  Novalys.VisualGuard.Security.Membership
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
[ObsoleteAttribute("This class is obsolete now, plz use VGSecurityManager.Runtime.Roles", 
	true)]
public sealed class VGRoles

The VGRoles type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAnonymousRole
Gets the name of the role granted to a user during an anonymous session.
Public propertyStatic memberAnonymousRoleId
Gets the unique identifier of the role granted to a user during an anonymous session.
Public propertyStatic memberDefaultRole
Gets the name of the default role of the application.
Public propertyStatic memberDefaultRoleId
Gets the unique identifier of the default role of the application.
Top
Methods
  NameDescription
Public methodStatic memberAddUsersToRole(NTAccount, String) Obsolete.
Adds the specified users to the specified role.
Public methodStatic memberAddUsersToRole(String, String) Obsolete.
Adds the specified users to the specified role.
Public methodStatic memberAddUsersToRole(NTAccount, String, Guid) Obsolete.
Adds the specified users to the specified role.
Public methodStatic memberAddUsersToRole(String, String, Guid) Obsolete.
Public methodStatic memberAddUsersToRoles(NTAccount, String) Obsolete.
Adds the specified users to the specified roles.
Public methodStatic memberAddUsersToRoles(String, String) Obsolete.
Adds the specified users to the specified roles.
Public methodStatic memberAddUsersToRoles(NTAccount, String, Guid) Obsolete.
Public methodStatic memberAddUsersToRoles(String, String, Guid) Obsolete.
Public methodStatic memberAddUsersToRolesById(NTAccount, Guid) Obsolete.
Adds the specified Windows accounts to the specified roles.
Public methodStatic memberAddUsersToRolesById(String, Guid) Obsolete.
Adds a list of users specified by repository ids to the specified roles.
Public methodStatic memberAddUsersToRolesById(NTAccount, Guid, Guid) Obsolete.
Adds the specified Windows accounts to the specified roles.
Public methodStatic memberAddUsersToRolesById(String, Guid, Guid) Obsolete.
Adds a list of users specified by repository ids to the specified roles.
Public methodStatic memberAddUserToRole(NTAccount, String) Obsolete.
Adds the specified user to the specified role.
Public methodStatic memberAddUserToRole(String, String) Obsolete.
Adds the specified user to the specified role.
Public methodStatic memberAddUserToRole(NTAccount, String, Guid) Obsolete.
Adds the specified user to the specified role.
Public methodStatic memberAddUserToRole(String, String, Guid) Obsolete.
Adds the specified user to the specified role.
Public methodStatic memberAddUserToRoleById(String, Guid) Obsolete.
Adds the user specified by the repository id to the specified role.
Public methodStatic memberAddUserToRoleById(String, Guid, Guid) Obsolete.
Adds the user specified by the repository id to the specified role.
Public methodStatic memberAddUserToRoles(NTAccount, String) Obsolete.
Adds the specified user to the specified roles.
Public methodStatic memberAddUserToRoles(String, String) Obsolete.
Adds the specified user to the specified roles.
Public methodStatic memberAddUserToRoles(NTAccount, String, Guid) Obsolete.
Adds the specified user to the specified roles.
Public methodStatic memberAddUserToRoles(String, String, Guid) Obsolete.
Adds the specified user to the specified roles.
Public methodStatic memberAddUserToRolesById(String, Guid) Obsolete.
Adds a user specified by repository id to the specified roles.
Public methodStatic memberAddUserToRolesById(String, Guid, Guid) Obsolete.
Adds a user specified by repository id to the specified roles.
Public methodStatic memberCreateInstance Obsolete.
Creates a VGRolesInstance using a specific security runtime
Public methodStatic memberCreateRole(String, String, Guid) Obsolete.
Adds a new role to the repository.
Public methodStatic memberCreateRole(String, String, Guid, Guid) Obsolete.
Adds a new role to the repository.
Public methodCreateSharedRole Obsolete.
Adds a new role to the repository.
Public methodStatic memberDeleteRole(Guid, Boolean) Obsolete.
Deletes a role specified by its repository id from the repository.
Public methodStatic memberDeleteRole(String, Boolean) Obsolete.
Deletes a role specified by its name from the repository.
Public methodStatic memberDeleteRole(VGRole, Boolean) Obsolete.
Deletes the role represented by the specified VGRole object from the repository.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFindPermissionSetByName Obsolete.
Gets a permission set list for the selected permission name and for the application
Public methodStatic memberFindRolesByName Obsolete.
Gets a roles for the application.
Public methodStatic memberFindSharedRolesByName Obsolete.
Gets a shared roles for the application.
Public methodStatic memberFindUsersInRole Obsolete.
Gets a list of users in a specified role where the user name contains the specified user name to match.
Public methodStatic memberFindUsersInRoleById Obsolete.
Gets a list of users in a specified role where the user name contains the specified user name to match.
Public methodStatic memberGetAllPermissionSets Obsolete.
Gets a list of the permission set fro the repository.
Public methodStatic memberGetAllRoles Obsolete.
Gets a list of all the roles for the application.
Public methodStatic memberGetAllRolesAsCollection Obsolete.
Gets a VGRoleCollection object representing the list of all the roles for the application.
Public methodStatic memberGetAllRolesAsCollection(Guid) Obsolete.
Gets a VGRoleCollection object representing the list of all the roles for the application.
Public methodStatic memberGetAllSharedRolesAsCollection Obsolete.
Gets a VGRoleCollection object representing the list of all the roles for the application.
Public methodStatic memberGetAllSharedRolesAsCollection(Guid) Obsolete.
Gets a VGRoleCollection object representing the list of all the roles for the application.
Public methodGetAllSpecialRolesAsCollection Obsolete.
Gets a VGRoleCollection object representing the list of all speciale roles for the application.
Public methodGetDefaultRole Obsolete.
Gets the default role of an application.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetPermissionSet(Guid) Obsolete.
Gets a permission set for the application
Public methodStatic memberGetPermissionSet(Guid, Guid) Obsolete.
Gets a permission set for the application
Public methodStatic memberGetRole(Guid) Obsolete.
Gets a role for the application.
Public methodStatic memberGetRole(String) Obsolete.
Gets a roles for the application.
Public methodStatic memberGetRole(Guid, Guid) Obsolete.
Gets a role for the application.
Public methodStatic memberGetRolesForUser Obsolete.
Gets a list of the roles that the currently logged-on user is in.
Public methodStatic memberGetRolesForUser(NTAccount) Obsolete.
Gets a list of the roles that a Windows account is in.
Public methodStatic memberGetRolesForUser(String) Obsolete.
Gets a list of the roles that a Visual Guard user is in.
Public methodStatic memberGetRolesForUser(String, VGAuthenticationMode) Obsolete.
Gets a list of the roles that a user is in.
Public methodStatic memberGetRolesForUserById(String) Obsolete.
Gets a list of the roles that a user is in.
Public methodStatic memberGetRolesForUserById(String, Guid) Obsolete.
Gets a list of the roles that a user is in.
Public methodStatic memberGetSharedRole(Guid) Obsolete.
Gets a role for the application.
Public methodStatic memberGetSharedRole(Guid, Guid) Obsolete.
Gets a role for the application.
Public methodStatic memberGetSpecialRolesForUser(NTAccount) Obsolete.
Gets a list of the speciales roles that a Windows account is in.
Public methodStatic memberGetSpecialRolesForUser(String) Obsolete.
Gets a list of speciales roles that a Visual Guard user is in.
Public methodStatic memberGetSpecialRolesForUser(String, VGAuthenticationMode) Obsolete.
Gets a list of speciales roles that a user is in.
Public methodStatic memberGetSpecialRolesForUserById Obsolete.
Gets a list of speciales roles that a user is in.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUsersInRole(Guid) Obsolete.
Gets a list of users in the specified role.
Public methodStatic memberGetUsersInRole(String) Obsolete.
Gets a list of users in the specified role.
Public methodStatic memberIsUserInRole(Guid) Obsolete.
Gets a value indicating whether the currently logged-on user is in the specified role.
Public methodStatic memberIsUserInRole(String) Obsolete.
Gets a value indicating whether the currently logged-on user is in the specified role.
Public methodStatic memberIsUserInRole(NTAccount, String) Obsolete.
Gets a value indicating whether the specified user is in the specified role.
Public methodStatic memberIsUserInRole(String, String) Obsolete.
Gets a value indicating whether the specified user is in the specified role.
Public methodStatic memberIsUserInRoleById Obsolete.
Gets a value indicating whether the specified user is in the specified role.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRemoveUserFromRole(NTAccount, String) Obsolete.
Removes the specified user from the specified role.
Public methodStatic memberRemoveUserFromRole(String, String) Obsolete.
Removes the specified user from the specified role.
Public methodStatic memberRemoveUserFromRole(NTAccount, String, Guid) Obsolete.
Public methodStatic memberRemoveUserFromRole(String, String, Guid) Obsolete.
Removes the specified user from the specified role.
Public methodStatic memberRemoveUserFromRoleById(String, Guid) Obsolete.
Removes a list of users specified specified by repository id from the specified role.
Public methodStatic memberRemoveUserFromRoleById(String, Guid, Guid) Obsolete.
Removes a list of users specified specified by repository id from the specified role.
Public methodStatic memberRemoveUserFromRoles(NTAccount, String) Obsolete.
Removes the specified user from the specified list of roles.
Public methodStatic memberRemoveUserFromRoles(String, String) Obsolete.
Removes the specified user from the specified roles.
Public methodStatic memberRemoveUserFromRoles(NTAccount, String, Guid) Obsolete.
Removes the specified user from the specified list of roles.
Public methodStatic memberRemoveUserFromRoles(String, String, Guid) Obsolete.
Removes the specified user from the specified roles.
Public methodStatic memberRemoveUserFromRolesById(String, Guid) Obsolete.
Removes the specified user from the specified roles.
Public methodStatic memberRemoveUserFromRolesById(String, Guid, Guid) Obsolete.
Removes the specified user from the specified roles.
Public methodStatic memberRemoveUsersFromRole(NTAccount, String) Obsolete.
Removes the specified user from the specified list of roles.
Public methodStatic memberRemoveUsersFromRole(String, String) Obsolete.
Removes the specified users from the specified role.
Public methodStatic memberRemoveUsersFromRole(NTAccount, String, Guid) Obsolete.
Removes the specified user from the specified list of roles.
Public methodStatic memberRemoveUsersFromRole(String, String, Guid) Obsolete.
Removes the specified Windows accounts from the specified roles.
Public methodStatic memberRemoveUsersFromRoleById(String, Guid) Obsolete.
Removes a list of users specified specified by repository id from the specified role.
Public methodStatic memberRemoveUsersFromRoleById(String, Guid, Guid) Obsolete.
Removes a list of users specified specified by repository id from the specified role.
Public methodStatic memberRemoveUsersFromRoles(NTAccount, String) Obsolete.
Removes the specified Windows accounts from the specified roles.
Public methodStatic memberRemoveUsersFromRoles(String, String) Obsolete.
Removes the specified user names from the specified roles.
Public methodStatic memberRemoveUsersFromRoles(NTAccount, String, Guid) Obsolete.
Removes the specified Windows accounts from the specified roles.
Public methodStatic memberRemoveUsersFromRoles(String, String, Guid) Obsolete.
Removes the specified user names from the specified roles.
Public methodStatic memberRemoveUsersFromRolesById(NTAccount, Guid) Obsolete.
Removes the specified Windows accounts from the specified roles.
Public methodStatic memberRemoveUsersFromRolesById(String, Guid) Obsolete.
Removes a list of users specified by repository ids from the specified roles.
Public methodStatic memberRemoveUsersFromRolesById(NTAccount, Guid, Guid) Obsolete.
Removes the specified Windows accounts from the specified roles.
Public methodStatic memberRemoveUsersFromRolesById(String, Guid, Guid) Obsolete.
Removes a list of users specified by repository ids from the specified roles.
Public methodStatic memberRoleExists(Guid) Obsolete.
Checks if a role exists in the current repository for the application
Public methodStatic memberRoleExists(String) Obsolete.
Checks if a role exists in the current repository for the application
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUpdateRole Obsolete.
Updates the repository with the information for the specified role.
Top
Remarks
Visual Guard role management enables you to manage authorization for your application.

This class can be used to interact with VGMembership

See Also