public bool HasPermission( User user, Permission permission )
Check that the user has the permission
Syntax
public bool HasPermission( User user, Permission permission )
Parameters
- user
- Type: User
User. Object. Access path: PublicAPI.Portal.Security.User
- permission
- Type: Permission
Permission
Return Value
Type: Booleantrue, if the permission exists
See Also