Struct UserInformation
pub struct UserInformation;
Implementations§
§impl UserInformation
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: Param<IStorageFile>,
pub fn SetAccountPicturesAsync<P0, P1, P2>( smallimage: P0, largeimage: P1, video: P2, ) -> Result<IAsyncOperation<SetAccountPictureResult>>
pub fn SetAccountPictureFromStreamAsync<P0>(
image: P0,
) -> Result<IAsyncOperation<SetAccountPictureResult>>where
P0: Param<IRandomAccessStream>,
pub fn SetAccountPicturesFromStreamsAsync<P0, P1, P2>(
smallimage: P0,
largeimage: P1,
video: P2,
) -> Result<IAsyncOperation<SetAccountPictureResult>>where
P0: Param<IRandomAccessStream>,
P1: Param<IRandomAccessStream>,
P2: Param<IRandomAccessStream>,
pub fn AccountPictureChanged<P0>(changehandler: P0) -> Result<i64>where
P0: Param<EventHandler<IInspectable>>,
pub fn RemoveAccountPictureChanged(token: i64) -> 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§
impl Freeze for UserInformation
impl RefUnwindSafe for UserInformation
impl Send for UserInformation
impl Sync for UserInformation
impl Unpin for UserInformation
impl UnwindSafe for UserInformation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more