I am using CSOM to retrieve items from the "Access Requests" list.
(https://sharepointSite.sharepoint.com/sites/siteName/Access%20Requests/pendingreq.aspx)
I am trying to figure out all the possible values of the "Status" field.
I have found the following values (just from looking at the access requests page and comparing to the data retrieved from my code)
I have been unable to find any reference to these codes online. Can anyone point me to a reference for these values or let me know what you figured our on your own?
OK whilst "_ModerationStatus" values are 0..4 (where 0=Approved), this is not the same as the "Status" field of an Access Request, which has values I have obtained from the Microsoft.SharePoint.SPAccessRequestsUtility (public enum StatusToInt), as well as accessrequestsviewtemplate.debug.js file (located in 15 hive, Layouts folder):
I obtained this from powershell hitting the field and obtaining the SchemaXml property, reverse-engineering code as well as this MS link: https://msdn.microsoft.com/en-us/library/jj675013(v=office.12).aspx Also look at these links depending upon your need: https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spaccessrequests.changerequeststatus.aspx https://msdn.microsoft.com/en-us/library/jj674880(v=office.12).aspx