Add Locked and Disabled properties to PersonUser object
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
RootModule = 'VMware.vSphere.SsoAdmin.psm1'
|
RootModule = 'VMware.vSphere.SsoAdmin.psm1'
|
||||||
|
|
||||||
# Version number of this module.
|
# Version number of this module.
|
||||||
ModuleVersion = '1.2.2'
|
ModuleVersion = '1.2.3'
|
||||||
|
|
||||||
# ID used to uniquely identify this module
|
# ID used to uniquely identify this module
|
||||||
GUID = 'b3e25326-e809-4d68-a252-ca5fcaf1eb8b'
|
GUID = 'b3e25326-e809-4d68-a252-ca5fcaf1eb8b'
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -22,6 +22,8 @@ namespace VMware.vSphere.SsoAdminClient.DataTypes
|
|||||||
public string FirstName { get; set; }
|
public string FirstName { get; set; }
|
||||||
public string LastName { get; set; }
|
public string LastName { get; set; }
|
||||||
public string EmailAddress { get; set; }
|
public string EmailAddress { get; set; }
|
||||||
|
public bool Locked { get; set; }
|
||||||
|
public bool Disabled { get; set; }
|
||||||
|
|
||||||
public SsoAdminClient GetClient() {
|
public SsoAdminClient GetClient() {
|
||||||
return _client;
|
return _client;
|
||||||
|
|||||||
@@ -191,7 +191,9 @@ namespace VMware.vSphere.SsoAdminClient
|
|||||||
Description = personUser.details.description,
|
Description = personUser.details.description,
|
||||||
FirstName = personUser.details.firstName,
|
FirstName = personUser.details.firstName,
|
||||||
LastName = personUser.details.lastName,
|
LastName = personUser.details.lastName,
|
||||||
EmailAddress = personUser.details.emailAddress
|
EmailAddress = personUser.details.emailAddress,
|
||||||
|
Locked = personUser.locked,
|
||||||
|
Disabled = personUser.disabled
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -222,7 +224,9 @@ namespace VMware.vSphere.SsoAdminClient
|
|||||||
Description = personUser.details.description,
|
Description = personUser.details.description,
|
||||||
FirstName = personUser.details.firstName,
|
FirstName = personUser.details.firstName,
|
||||||
LastName = personUser.details.lastName,
|
LastName = personUser.details.lastName,
|
||||||
EmailAddress = personUser.details.emailAddress
|
EmailAddress = personUser.details.emailAddress,
|
||||||
|
Locked = personUser.locked,
|
||||||
|
Disabled = personUser.disabled
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -257,7 +261,9 @@ namespace VMware.vSphere.SsoAdminClient
|
|||||||
Description = personUser.details.description,
|
Description = personUser.details.description,
|
||||||
FirstName = personUser.details.firstName,
|
FirstName = personUser.details.firstName,
|
||||||
LastName = personUser.details.lastName,
|
LastName = personUser.details.lastName,
|
||||||
EmailAddress = personUser.details.emailAddress
|
EmailAddress = personUser.details.emailAddress,
|
||||||
|
Locked = personUser.locked,
|
||||||
|
Disabled = personUser.disabled
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user