Struct azure_devops_rust_api::ims::models::IdentitySelf
source · pub struct IdentitySelf {
pub account_name: Option<String>,
pub display_name: Option<String>,
pub domain: Option<String>,
pub id: Option<String>,
pub origin: Option<String>,
pub origin_id: Option<String>,
pub tenants: Vec<TenantInfo>,
}
Expand description
Identity information.
Fields§
§account_name: Option<String>
The UserPrincipalName (UPN) of the account. This value comes from the source provider.
display_name: Option<String>
The display name. For AAD accounts with multiple tenants this is the display name of the profile in the home tenant.
domain: Option<String>
This represents the name of the container of origin. For AAD accounts this is the tenantID of the home tenant. For MSA accounts this is the string “Windows Live ID”.
id: Option<String>
This is the VSID of the home tenant profile. If the profile is signed into the home tenant or if the profile has no tenants then this Id is the same as the Id returned by the profile/profiles/me endpoint. Going forward it is recommended that you use the combined values of Origin, OriginId and Domain to uniquely identify a user rather than this Id.
origin: Option<String>
The type of source provider for the origin identifier. For MSA accounts this is “msa”. For AAD accounts this is “aad”.
origin_id: Option<String>
The unique identifier from the system of origin. If there are multiple tenants this is the unique identifier of the account in the home tenant. (For MSA this is the PUID in hex notation, for AAD this is the object id.)
tenants: Vec<TenantInfo>
For AAD accounts this is all of the tenants that this account is a member of.
Implementations§
source§impl IdentitySelf
impl IdentitySelf
Trait Implementations§
source§impl Clone for IdentitySelf
impl Clone for IdentitySelf
source§fn clone(&self) -> IdentitySelf
fn clone(&self) -> IdentitySelf
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdentitySelf
impl Debug for IdentitySelf
source§impl Default for IdentitySelf
impl Default for IdentitySelf
source§fn default() -> IdentitySelf
fn default() -> IdentitySelf
source§impl<'de> Deserialize<'de> for IdentitySelf
impl<'de> Deserialize<'de> for IdentitySelf
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for IdentitySelf
impl PartialEq for IdentitySelf
source§fn eq(&self, other: &IdentitySelf) -> bool
fn eq(&self, other: &IdentitySelf) -> bool
self
and other
values to be equal, and is used
by ==
.