Link to home
Start Free TrialLog in
Avatar of brendan-amex
brendan-amex

asked on

SharePoint 2010 Create View based off Department

I'm trying to create a view based off of a users department in ADUC.

I created a view that shows everything a user has modified by saying when Modified is equal to [Me]. I have a Department field that corresponds with a users "Department" in ADUC. How do I pull that ADUC attribute into the view? I would imagine something like [Me].[Department]. Anyone have a clue?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brendan-amex
brendan-amex

ASKER

Thanks Teylyn, I'm not sure I follow what you say though. I want the view to update based on the person hitting the webpage, which would mean I would have to affix the Department name to the individual person in SharePoint, correct? There is already a Department column on my list.
What I'm saying above is: It can't be done. At least not with out of the box tools.

You would need code for that.

As an alternative, you can create views by department.

I'm not in front of SharePoint right now, but it might be possible to use SharePoint Designer and a DVWP to create a filter parameter on the current user's department, especially if that is stored in a field in the list.