Click or drag to resize

VGIPrincipalMembershipPermission 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

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
VGMembershipPermissionAccess MembershipPermission { 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