Exposes and updates role information in the Visual Guard repository.

Namespace: Novalys.VisualGuard.Security.Membership
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
[SerializableAttribute]
public sealed class VGRole : VGIMembershipObject, 
	VGIDocumentationMembershipObject
Visual Basic
<SerializableAttribute>
Public NotInheritable Class VGRole
	Implements VGIMembershipObject, VGIDocumentationMembershipObject

Remarks

The VGRole object is used to represent a role in the Visual Guard repository. It exposes information about the role such as the id, name, description and permission sets, and provides functionality for the role such as change the list of members.

A VGRole object is returned by the GetRole(String) and CreateRole(String, String, Guid) methods or as part of a VGRoleCollection returned by the GetAllRoles()()()(), GetRolesForUser(String) methods.

A VGRole object is required by the UpdateRole(VGRole) method when you want to update the information for an existing role.

Inheritance Hierarchy

System..::..Object
  Novalys.VisualGuard.Security.Membership..::..VGRole

See Also