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
identity
Type: Microsoft.WindowsServerSolutions.Users.UserIdentityThe UserIdentity object.
saveAccount
Type: System.Booleantrue if the account information is saved; otherwise, false.
credential
Type: System.Net.NetworkCredentialThe NetworkCredential object.
saveCredential
Type: System.Booleantrue if the credential information is saved; otherwise, false.
See Also
UserIdentity Class
Microsoft.WindowsServerSolutions.Users Namespace
Return to top