Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何以编程方式获取登录到 sitefinity 4.4 的当前用户?
谢谢,安
每当您处于 Sitefinity 页面的上下文中时,您都可以执行以下操作:
var uId = Telerik.Sitefinity.Security.SecurityManager.GetCurrentUserId();
它只是 SecurityManager 类的一个静态方法。