gboolean afdal_session_get_permission gchar *  server_name,
gchar *  permission_name

Returns current status for the given permission associated to the given server for the current logged user.

Returns if the given permission at the given server is enabled for the current session.

server_name The server name to check
permission_name The permission to check
TRUE if the permission is enabled, FALSE otherwise.