I got a chatter group,which i am not a member of .
I got this code below
list<ContentVersion > to = [select Title, FileType, ContentSize ,contentdocumentid,VersionNumber from ContentVersion where id ='069M0000000JyUx' ]; system.debug(to);
This chatterfile is present in this chatter group which i am not part of.But i am running the code as system admin.and also when i go to the file,via url, i can see it and even download it from the link.
But when i run this code,i don't get any row back from Contentversion. am i looking at wrong tables?