Change user password

Namespace: T.Modules.Security
Assembly: T.Modules (in T.Modules.dll)

Public Function UserChangePassword( _ 
ByVal username As String, _ 
ByVal oldPassword As String, _ 
ByVal newPassword As String
) As Boolean
This language is not supported or no code example is available.
public bool UserChangePassword( 
string username
string oldPassword
string newPassword 
)
This language is not supported or no code example is available.
public:  
bool UserChangePassword( 
String^ username
String^ oldPassword
String^ newPassword 
)
This language is not supported or no code example is available.
public function UserChangePassword( 
username : String
oldPassword : String
newPassword : String 
) : boolean;
This language is not supported or no code example is available.

Parameters

username

Type: string

User name

oldPassword

Type: string

User old password

newPassword

Type: string

User new password

Return Value

Flag indicating whether password was changed

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4, 3.5 SP1