Apex
CloudFiles Client
Assign User Licenses
the assigning user licenses allows you to efficiently allocate the required licenses to users as needed in this guide, we assume that you are already familiar with the docid\ q8jufy7682qbuvs3xt1xe flow action, and we will walk you through how to use this method effectively global static list\<updatelicensesflowoutput> assignuserlicenses( list\<types updatelicensesinput> inputs, string runas ) parameters inputs list of docid\ zqe6nrisfbmsdbjv4 e1u runas email id of the user on whom behalf the function should run if you want to run the action as cloudfiles integeration user, supply integrationuser return type list of docid 9cahfabthdlaq 7k4fkaf object example list\<cldfs types updatelicensesinput> inputs = new list\<cldfs types updatelicensesinput>{ new cldfs types updatelicensesinput(new list\<id>{'005dl000008fbqgqac'}, 'document management') }; string runas = 'integerationuser'; list\<cldfs updatelicensesflowoutput> output = cldfs client assignuserlicenses(inputs, runas);