get_access_control


Description:

[ Version ( since = "0.7.0" ) ]
public YouTubePermission get_access_control (string action)

Gets the permission associated with the given action on the YouTubeVideo .

If the given action doesn't have a permission set on the video, DENIED is returned.

Parameters:

this

a YouTubeVideo

action

the action whose permission should be returned

Returns:

the permission associated with action, or DENIED