Gets a value that indicates whether the current user can use Membership API to edit, create, delete or assign role to users for the current application

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

Syntax

C#
VGMembershipPermissionAccess MembershipPermission { get; }
Visual Basic
ReadOnly Property MembershipPermission As VGMembershipPermissionAccess
	Get

Property Value

Type: VGMembershipPermissionAccess
When the Membership Permissions are disabled, the value is always AllAccess. When Membership Permssions are enabled, if the user is member of the 'Membership Manager' role, this property is equal to AllAccess, otherwise the property is equal to NoAccess

Remarks

This property allows to check whether the user can use Membership API. .

You can enabled Membership permissions by using the Visual Guard console and setting the property "Membership Permissions Enabled" to true for the application.

See Also