chef 3746 Posted September 27, 2015 Share Posted September 27, 2015 (edited) Sorry I just can't find how to narrow the list of Users into Admins only... I only want to Notify the admin accounts in their inboxes that my plugin did something. I am using IUserManager Interface to get user data. Edited September 27, 2015 by chef Link to comment Share on other sites More sharing options...
chef 3746 Posted September 27, 2015 Author Share Posted September 27, 2015 Found it under Policy! "user.Policy.IsAdministrator" Link to comment Share on other sites More sharing options...
Luke 37099 Posted September 27, 2015 Share Posted September 27, 2015 it sounds like you are not implementing this plugin correctly, to be honest. Link to comment Share on other sites More sharing options...
chef 3746 Posted September 27, 2015 Author Share Posted September 27, 2015 (edited) okay, back to the drawing board then.... yep I can see now that sending to an admin user is not what I thought it was. notifications are now working. Just out of curiosity, is this what you would like to see from a plugin like this in notification: (my email is now sent through the notification class which implements the INotificationRepository) I'm tryin' here Edited September 27, 2015 by chef Link to comment Share on other sites More sharing options...
chef 3746 Posted September 28, 2015 Author Share Posted September 28, 2015 (edited) @@Luke I get it. You're saying to only email out info from the Notifications. Instead of what I have now, which is using the library manager to get newly added items. Sorry it took me a bit to catch on. Edited September 28, 2015 by chef Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now