GList * afdal_session_get_permission_list gchar *  server_name  ) 

Returns the permission list the current logged user have against the given server_name.

Retuns actual permission list returned by the af-kernel for the given server_name and the current user logged in.

This can be useful to implement politics at user interfaces to enable/disable following the permission status.

server_name The server name to look up permissions.
A list with the permissions for the given