用户在 sharepoint 中添加\删除事件 [英] User added\deleted event in sharepoint

查看:55
本文介绍了用户在 sharepoint 中添加\删除事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何知道用户何时被添加(或删除)到 sharepoint 站点或 sharepoint 站点中的组?

我试图在用户信息列表上附加一个 SPItemEventReceiver,但主要问题是我不知道何时从组中添加(删除)用户...

How can i know when a user is added (or deleted) to a sharepoint site or to a group in a sharepoint site?

I tried to attach an SPItemEventReceiver on the user information list, but the main problem is that i can't know when a user is added (removed) from a group...

这样做的最佳方法是什么?请注意,我将它用于许可目的,我想知道特定组中的用户数量何时超过了允许数量的最大值.

What is the best approach to do that?? noting that i'm using it for licensing purpose and i want to know when the number of users in a specific group passed the maximum of the allowed number.

推荐答案

这是一个意想不到的实施痛点:参考之前的堆栈溢出问题 或 Aaron Han 在 此社交线程.

This is an unexpected pain to implement: Refer to this previous Stack Overflow question or Aaron Han's answer in this social thread.

这篇关于用户在 sharepoint 中添加\删除事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆