Get File Cabinets
Once you got the organization, you can continue accessing the file cabinets. Web Baskets and File Cabinets are handled the same way, thus you get baskets and File Cabinets with a single request. The following examples show how to get the File Cabinets and baskets and find the default Web Basket.
Get all File Cabinets
C#
var fileCabinets = org.GetFileCabinetsFromFilecabinetsRelation().FileCabinet;
foreach (var fc in fileCabinets)
Console.WriteLine("You have access to the file cabinet " + fc.Name + ".");
Get the Default Web Basket
C#
var defaultBasket = fileCabinets.Where(f => f.IsBasket && f.Default).First();
Get the first available File Cabinet
C#
var fileCabinet = fileCabinets.Where(f => !f.IsBasket).First();
See Also
Other Resources
Get Active Organization Get all Documents of a Basket or File Cabinet