PS C:\Users\administrator.VSAT> $SPUtility=[Microsoft.Sharepoint.Utilities.SPUtility]
PS C:\Users\administrator.VSAT> $SPPrincipalType=[Microsoft.Sharepoint.Utilities.SPPrincipalType]
PS C:\Users\administrator.VSAT> $obj=$SPUtility::ResolveWindowsPrincipal($null,$owebapp,”vsat\administrator”,$SPPrincipalType::User,$false)
PS C:\Users\administrator.VSAT> $obj
PrincipalType : User
LoginName : VSAT\administrator
IsSharePointGroup : False
PrincipalId : -1
Email : Administrator@vsat.bizapp
SIPAddress :
Mobile :
DisplayName : Administrator
Department :
JobTitle :
© 版权声明
文章版权归作者所有,未经允许请勿转载。