You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Get-SPUser cmdlet returns all SharePoint user accounts that match the scope given by the Identity, Web, or Group parameters.
25
25
26
26
The Identity parameter can use the alias of a user for returning exact matches.
27
-
However, a scope must be provided if the Get-SPUser cmdlet is to work.
28
27
29
28
For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251831 (http://go.microsoft.com/fwlink/p/?LinkId=251831).
This example returns the specific user identified via Classic Windows authentication on the site https://sharepoint.contoso.com.
39
53
40
54
## PARAMETERS
41
55
42
56
### -Identity
43
-
Specifies the GUID or login name of the user to be returned.
57
+
Specifies the ID or login name of the user to be returned.
44
58
45
-
The type must be a valid URL, in the form http://server_name, or GUID, in the form1234-5678-9807.
59
+
The type must be a valid ID or login name, such as the format of 'CONTOSO\jdoe' for Classic Windows Authentication or 'i:0#.w|CONTOSO\jdoe' for Windows Claims.
0 commit comments