Partager via


MachineIdentityManager.GetStandardUserSids Method (String, String, String, String)

 

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.String

    The name of the server to connect to.

  • userName
    Type: System.String

    The name of the user to connect as.

  • password
    Type: System.String

    The password to connect to the server.

  • connectedDC
    Type: System.String

    On 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