Can you tell me how to get the GroupID for the GetMediaLibraryInfo method?
MediaLibraryInfo newLibrary = MediaLibraryInfoProvider.GetMediaLibraryInfo("MyMediaLibraryName", website.SiteID, GroupID);
Hi,
Where do you need it for? I believe it's just an overload and not required.
You can just use: MediaLibraryInfoProvider.GetMediaLibraryInfo("LibraryName", SiteContext.CurrentSiteName);
MediaLibraryInfoProvider.GetMediaLibraryInfo("LibraryName", SiteContext.CurrentSiteName);
See the API examples: https://docs.kentico.com/display/API9/Media+libraries#Medialibraries-Creatingamedialibrary
Greets,
David
Thanks David, i had misread a note and thought i had to call this method using siteid and groupid.
Please, sign in to be able to submit a new answer.