Share via


UserIdentity.SetServerUserInfo Method (UserIdentity, Boolean, NetworkCredential, Boolean)

 

Sets information on the server.

Namespace:   Microsoft.WindowsServerSolutions.Users
Assembly:  UserObjectModel (in UserObjectModel.dll)

Syntax

public static void SetServerUserInfo(
    UserIdentity identity,
    bool saveAccount,
    NetworkCredential credential,
    bool saveCredential
)
public:
static void SetServerUserInfo(
    UserIdentity^ identity,
    bool saveAccount,
    NetworkCredential^ credential,
    bool saveCredential
)
Public Shared Sub SetServerUserInfo (
    identity As UserIdentity,
    saveAccount As Boolean,
    credential As NetworkCredential,
    saveCredential As Boolean
)

Parameters

  • saveAccount
    Type: System.Boolean

    true if the account information is saved; otherwise, false.

  • saveCredential
    Type: System.Boolean

    true if the credential information is saved; otherwise, false.

See Also

UserIdentity Class
Microsoft.WindowsServerSolutions.Users Namespace

Return to top