Can someone tell me how to use ObjectSharingInformation.GetObjectSharingInformation to get AnonymousViewLink property

Hi,
I am successfully using ObjectSharingInformation.GetObjectSharingInformation to get AnonymousEditLink property but I can't figure out how to use the same function to get AnonymousViewLink property it is always coming out as null does anyone know how to get
a value for this property?
Any help will be greatly appreciated.

Hi,
According to your post, my understanding is that you had an question about the property of AnonymousViewLink.
The SPObjectSharingInformation.AnonymousViewLink property
gets the anonymous view link for the securable object, or an empty string if the link is not available.
There is an example about the property in the sharing.debug.js file which located in the below path, you can have a look at it.
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
Thanks,
Jason
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jason Guo
TechNet Community Support

Similar Messages

Maybe you are looking for

  • Web Content Source - Not Working

    Created a new web-content source & full crawled it. When i searched with content text, not working.

  • Can I install Windows 7 with Bootcamp without a disk

    I purchased Windows 7 Home Premium when I also purchased Parallels 7.  My main objective was to use the Windows partition for games that Mac doesn't have (Everquest II for example).  I had no trouble installing Windows with Parallels but the games I

  • Help on Scope of Subject and WLSPrincipal

    Hi, I am trying to understand the scope of WLSPrincipal. Does it span across various authenticators. For example, I have the following authenticators set DefaultAuthenticator (req) IplanetAuthenticator (sufficient) goes to DS1 and has user John. Ipla

  • Unistall reports 'Failed' on Solaris 8.

    when running uninstall, it reports status: failed even though there is no error in the logs and you can re-install cleanly. Note: uninstall removes SUNWtls even if this module was not installed by 'setup'.

  • Need help in creating table in crystal report for visual studio 2010

    Since there is no table support in crystal report,how can I create a table in crystal report for visual studio 2010? I have a datatable and I need to show that in crystal report in table structure. I have tried using lines and boxes to generate the t