ZennoLab Assemblies Documentation
RegenerateLogin Method
Example 

Type: System.String

The rule for generation a new login.

Syntax
string RegenerateLogin( 
   string rule
)

Parameters

rule

Type: System.String

The rule for generation a new login.

Return Value

Type: System.String

A string that represents a new login.

Remarks
This method is not change the Login property for current object of IProfile.
Example
The following example uses RegenerateLogin method from profile.
// generation a new login with specified rule
string newLogin = project.Profile.RegenerateLogin("[Eng|4][RndNum|1970|1990]");
// generation a new login with specified rule
$newLogin = $project->Profile->RegenerateLogin("[Eng|4][RndNum|1970|1990]");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IProfile Interface
IProfile Members
Login Property

Send Feedback