启用编辑用户和权限 [英] enable Editing users and permissions

查看:137
本文介绍了启用编辑用户和权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi 


我有以下代码,但我不知道如何使用它来检查配置审核设置的编辑用户和权限

 

Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue

$ SiteCollURL = " http://intranet.crescent.com" #获取网站集
$ Site = Get-SPSite $ SiteCollURL #Define Audit Events
$ AuditLogEvents = " Delete" " Update" $ Site .Audit.AuditFlags = $ AuditLogEvents $ Site .Audit.Update()
#Set trim选项s
$ Site .TrimAuditLog = $ TRUE $ Site .AuditLogTrimmingRetention = 10

请帮帮我

谢谢

Mohammad







解决方案

您可以查看以下内容


http://www.sharepointdiary.com/2015/07/enable-audit-logs-in -sharepoint-2013-using-powershell.html


https://social.technet.microsoft.com/wiki/contents/articles/23900.sharepoint-get-audits-for-a-document -using-powershell.aspx


hi 

i have the following code, but i don't know how to use it for checking the editing users and permissions on the configure audit settings

Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue $SiteCollURL="http://intranet.crescent.com"#Get the site collection $Site = Get-SPSite $SiteCollURL#Define Audit Events $AuditLogEvents = "Delete", "Update"$Site.Audit.AuditFlags = $AuditLogEvents$Site.Audit.Update() #Set Trimming Options $Site.TrimAuditLog = $TRUE$Site.AuditLogTrimmingRetention = 10

please help me with it

thanks

Mohammad

解决方案

You can check the below

http://www.sharepointdiary.com/2015/07/enable-audit-logs-in-sharepoint-2013-using-powershell.html

https://social.technet.microsoft.com/wiki/contents/articles/23900.sharepoint-get-audits-for-a-document-using-powershell.aspx


这篇关于启用编辑用户和权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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