--- title: "Distribute Report Document To Library" slug: "distribute-report-document-to-library" description: "How the Distribute Report Document To Library task publishes a generated report to a library, and the settings that control where it lands." updated: 2025-10-07T09:58:28Z published: 2025-10-07T10:33:41Z canonical: "help.mail-and-deploy.com/distribute-report-document-to-library" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # Distribute Report Document To Library ### General This type of action can be used to distribute a report document to the [Library](/release36/docs/library) of one or more [Users](/release36/docs/users) and/or [User Groups](/release36/docs/user-groups). ### Properties Every action of this type has the following properties: | Name | Description | | --- | --- | | Report Document | The report document that shall be distributed to the [Library](/release36/docs/library). | ### Recipients You can specify one or more recipients references to specify recipients for the report document. Every recipients reference has the following properties: | Name | Description | | --- | --- | | Selector | Determines how recipients are specified (see below). | #### Expression Returning User Name(s) If you set the *Selector* to *Expression Returning User Name(s)* you can set the *Expression* property to an [Expression](/release36/docs/introduction-to-mail-and-deploy-expressions) that returns one or more [Strings](/release36/docs/string) containing the names of [Users](/release36/docs/users). The following expression, for example, returns the name of a single user: Mail & Deploy Expression "Bob" The following expression returns a list of two user names: Mail & Deploy Expression CreateList("Bob", "Sue") #### Expression Returning User Match Code(s) If you set the *Selector* to *Expression Returning User Match Code(s)* you can set the *Expression* property to an [Expression](/release36/docs/introduction-to-mail-and-deploy-expressions) that returns one or more [Strings](/release36/docs/string) containing the match codes of [Users](/release36/docs/users). The following expression, for example, returns the match code of a single user: Mail & Deploy Expression "User123" The following expression returns a list of two user match codes: Mail & Deploy Expression CreateList("User123", "User456") #### Expression Returning User E-Mail Address(es) If you set the *Selector* to *Expression Returning User E-Mail Address(es)* you can set the *Expression* property to an [Expression](/release36/docs/introduction-to-mail-and-deploy-expressions) that returns one or more [Strings](/release36/docs/string) containing the e-mail addresses of one or more [Users](/release36/docs/users). The following expression returns a list of two e-mail addresses: Mail & Deploy Expression CreateList("user123@company.com", "user456@company.com") #### Expression Returning User Group Name(s) If you set the *Selector* to *Expression Returning User Group Name(s)* you can set the [Expression](/release36/docs/introduction-to-mail-and-deploy-expressions) property to an Expression that returns one or more [Strings](/release36/docs/string) containing the names of [User Groups](/release36/docs/user-groups). The following expression, for example, returns the name of a single user group: Mail & Deploy Expression "User Group 1" The following expression returns a list of two user group names: Mail & Deploy Expression CreateList("User Group 1", "User Group 2") #### Selected Users And/Or User Groups If you set the *Selector* to *Selected Users And/Or User Groups* you can select one or more [Users](/release36/docs/users) and/or [User Groups](/release36/docs/user-groups).