The "attribute statements" section is optional. If you want to create user on the first login with more data than email, you need to set these attributes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +nfabre is my blockchain ID. https://onename.com/nfabre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
class VmwareUserCreateTask extends Task { | |
// ... | |
private $vmconnex = array(); | |
public function createVmconnex() { | |
$num = array_push($this->vmconnex, new Connexion()); | |
return $this->vmconnex[$num-1]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="test" basedir="." default="buidit"> | |
<!-- definition du type --> | |
<typedef name="vmconnex" classname="phing.types.custom.vmware.datatype.Connexion" /> | |
<taskdef name="vmwareUserCreate" classname="phing.tasks.vmware.vmware.user.CreateTask" /> | |
<!-- Parametrage --> | |
<vmconnex | |
id="mainconnex" | |
username="login" | |
password="password" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once "phing/types/DataType.php"; | |
/** | |
* This Type represents a Connection. | |
*/ | |
class Connexion extends DataType { | |
private $username; | |
private $password; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<project name="test" basedir="." default="work"> | |
<!-- rattachement de la tache a une balise --> | |
<taskdef name="vmwareUserCreate" | |
classname="phing.tasks.custom.vmware.user.CreateTask" /> | |
<target name="work"> | |
<vmwareUserCreate username="nfa" | |
password="pwd" | |
description="my delegated admin auto-agent software" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once "phing/Task.php"; | |
class CreateTask extends Task { | |
private $username; | |
private $password; | |
private $details; | |
// ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once "phing/Task.php"; | |
class CreateTask extends Task { | |
/** | |
* @var string | |
*/ | |
private $username; | |
/** |
NewerOlder