pub struct UserInformation;

Implementations§

§

impl UserInformation

pub fn AccountPictureChangeEnabled() -> Result<bool>

pub fn NameAccessAllowed() -> Result<bool>

pub fn GetAccountPicture(kind: AccountPictureKind) -> Result<IStorageFile>

pub fn SetAccountPictureAsync<P0>( image: P0 ) -> Result<IAsyncOperation<SetAccountPictureResult>>
where P0: IntoParam<IStorageFile>,

pub fn SetAccountPicturesAsync<P0, P1, P2>( smallimage: P0, largeimage: P1, video: P2 ) -> Result<IAsyncOperation<SetAccountPictureResult>>
where P0: IntoParam<IStorageFile>, P1: IntoParam<IStorageFile>, P2: IntoParam<IStorageFile>,

pub fn SetAccountPictureFromStreamAsync<P0>( image: P0 ) -> Result<IAsyncOperation<SetAccountPictureResult>>
where P0: IntoParam<IRandomAccessStream>,

pub fn SetAccountPicturesFromStreamsAsync<P0, P1, P2>( smallimage: P0, largeimage: P1, video: P2 ) -> Result<IAsyncOperation<SetAccountPictureResult>>
where P0: IntoParam<IRandomAccessStream>, P1: IntoParam<IRandomAccessStream>, P2: IntoParam<IRandomAccessStream>,

pub fn AccountPictureChanged<P0>( changehandler: P0 ) -> Result<EventRegistrationToken>
where P0: IntoParam<EventHandler<IInspectable>>,

pub fn RemoveAccountPictureChanged(token: EventRegistrationToken) -> Result<()>

pub fn GetDisplayNameAsync() -> Result<IAsyncOperation<HSTRING>>

pub fn GetFirstNameAsync() -> Result<IAsyncOperation<HSTRING>>

pub fn GetLastNameAsync() -> Result<IAsyncOperation<HSTRING>>

pub fn GetPrincipalNameAsync() -> Result<IAsyncOperation<HSTRING>>

pub fn GetSessionInitiationProtocolUriAsync() -> Result<IAsyncOperation<Uri>>

pub fn GetDomainNameAsync() -> Result<IAsyncOperation<HSTRING>>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.