Dispatcher functions The table below contains a short description of each script function. For information about syntax, examples, etc., see the full description of each script function. Function name Description GetDistributionChannelsForRole Returns the distribution channels for a role, for a specific document type. GetDistributionChannelsForUser Returns the distribution channels for a user, for a specific document type. GetRolesForUser Returns the roles associated with a user.