Struct windows::System::UserProfile::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: IntoParam<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: 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§
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