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.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
VGMembershipPermissionAccess MembershipPermission { get; } |
Visual Basic |
---|
ReadOnly Property MembershipPermission As VGMembershipPermissionAccess Get |
Property Value
Type: VGMembershipPermissionAccessWhen 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.