Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves an array of SIDs of standard users as well as the connected DC, using the specified server.
Namespace: Microsoft.WindowsServerSolutions.Devices.Identity
Assembly: MachineIdentityObjectModel (in MachineIdentityObjectModel.dll)
Syntax
public static string[] GetStandardUserSids(
string serverName,
string userName,
string password,
out string connectedDC
)
public:
static array<String^>^ GetStandardUserSids(
String^ serverName,
String^ userName,
String^ password,
[OutAttribute] String^% connectedDC
)
Public Shared Function GetStandardUserSids (
serverName As String,
userName As String,
password As String,
<OutAttribute> ByRef connectedDC As String
) As String()
Parameters
serverName
Type: System.StringThe name of the server to connect to.
userName
Type: System.StringThe name of the user to connect as.
password
Type: System.StringThe password to connect to the server.
connectedDC
Type: System.StringOn success, returns the connectedDC.
Return Value
Type: System.String[]
An array of SIDs of the standard users.
See Also
GetStandardUserSids Overload
MachineIdentityManager Class
Microsoft.WindowsServerSolutions.Devices.Identity Namespace
Return to top