Gets the current profile.
Syntax
| C# | |
|---|
public interface IProfile |
Example
The following example uses property
Profile of "project".
| C# | Copy Code |
|---|
// get login
string login = project.Profile.Login;
// set e-mail
project.Profile.Email = "myemail.@example.com";
// set gender if it's not male
if (project.Profile.Sex != ProfileSex.Male) project.Profile.Sex = ProfileSex.Male;
// set name
project.Profile.Name = "HisName"; |
| PHP | Copy Code |
|---|
// get login
$login = $project->Profile->Login;
// set e-mail
$project->Profile->Email = "myemail.@example.com";
// set gender if it's not male
if ($project->Profile->Sex != ProfileSex::Male) $project->Profile->Sex = ProfileSex::Male;
// set name
$project->Profile->Name = "HisName"; |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
See Also