get_permission


Description:

public bool get_permission (uint32 idx, string out_ptype, string out_pitem, string out_detail)

Retrieve one of the entries of the permissions property of this setting.

Parameters:

this

the SettingConnection

idx

the zero-based index of the permissions entry

out_ptype

on return, the permission type. This is currently always "user", unless the entry is invalid, in which case it returns "invalid".

out_pitem

on return, the permission item (formatted according to ptype, see permissions for more detail

out_detail

on return, the permission detail (at this time, always null)

Returns:

true if a permission was returned, false if idx was invalid




2022 vala-language.org