Visual Guard Class Library Documentation

VGIPrincipal.MembershipPermission Property

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

VGMembershipPermissionAccess MembershipPermission {get;}

Property Value

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

VGIPrincipal Interface | Novalys.VisualGuard.Security Namespace