برای پیدا کردن SID یک کاربر در سایت شیرپوینت میتوانید از قطعه کد زیر استفاده کنید.
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #config Variables $SiteURL="http://intranet.drsharepoint.ir" $UserAccount = "drsharepoint.ir\student" #Get the Web and User Objects $Web = Get-SPWeb $SiteURL $User = $web.EnsureUser($UserAccount) #Get the SID Write-host "SID of the User:"$User.Sid
اسکریپت پیدا کردن SID کاربر
2 دانلود- فرمت : Powershell
- حجم : 2KB
- محتوا : اسکریپت پاورشل
- نویسنده : سلین سرکیسیان