How to know which kind of security we have by code RRS feed

  • Question

  • Hi all,

    With Project Server 2013 is introduced the new kind of security "SharePoint security mode", furthermore, by default.

    In order to retrieve which groups has a single user by code, we need to know first which kind of security is activated in our PWA instance. It would not be the same code to ask to one kind or another.

    Is there any simple code to ask by PSI or something to know which kind of security is activated??



    Wednesday, April 10, 2013 8:26 AM


  • You can execute PowerShell from C#. Or you can use this PSI method: http://msdn.microsoft.com/en-us/library/office/websvcsecurity.security.readpermissionmode_di_pj14mref.aspx Thanks Paul

    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS

    • Marked as answer by Miguel Soler Thursday, April 11, 2013 7:45 AM
    Wednesday, April 10, 2013 10:38 PM

All replies