TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Beavon Ondari
NA
40
55.4k
Filter all current users in SharePoint
Sep 25 2017 2:49 AM
Hello C# Corner!
My code below I am able to filter one logged in user, but what i want to filter all logged in users instead of one.
var Filter =
"?$filter=(UserName eq '"
+LogedinUser+
"') and (Status eq 'Open')"
;
getFilteredlist(
'Shared Folders'
, Filter ,function(spData)
{
fileArray = spData;
//Check Data
console.log(spData);
for
(k = 0; k < spData.length; k++)
{
var Library = spData[k].Relative_x0020_Path;
var FileID = spData[k].FileID;
var ListID = spData[k].ID;
var Filter1 =
"&$filter=ID eq '"
+FileID+
"'"
;
Getfilteredlibrarylist(Library, Filter1, ListID, function(resultsarray, LID)
{
dataArray[LID] = resultsarray;
t++;
});
}
});
Please anybody with helpful explanation or code, will be much appreciated. Thanks
Reply
Answers (
1
)
Unable to Deploy WSP in PROD WFE - WSP Deployment ISSUE
How To migrate workflows to online in Sharepoint?