Grants the permission to use the Membership API to edit, create, delete or assign role to users for the current application
Namespace:
Novalys.VisualGuard.Security.Membership
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public void GrantMembershipPermission() |
| Visual Basic (Declaration) |
|---|
Public Sub GrantMembershipPermission |
Exceptions
| Exception | Condition |
|---|
| System.Security..::.SecurityException | The current user has not enough privileges to use Membership API. The 'Membership Manager' role must be granted to the user by using the Visual Guard console. |
See Also