WebAccountManager
WebAccountManager
WebAccountManager
WebAccountManager
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Provides methods for managing web accounts.
public : static class WebAccountManagerpublic static class WebAccountManagerPublic Static Class WebAccountManager// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Methods
AddWebAccountAsync(String, String, IMapView)
AddWebAccountAsync(String, String, IMapView)
AddWebAccountAsync(String, String, IMapView)
AddWebAccountAsync(String, String, IMapView)
Adds a new web account asynchronously with three inputs.
public : static IAsyncOperation<WebAccount> AddWebAccountAsync(PlatForm::String webAccountId, PlatForm::String webAccountUserName, IMapView<PlatForm::String, PlatForm::String> props)public static IAsyncOperation<WebAccount> AddWebAccountAsync(String webAccountId, String webAccountUserName, IReadOnlyDictionary<String, String> props)Public Static Function AddWebAccountAsync(webAccountId As String, webAccountUserName As String, props As IReadOnlyDictionary<String, String>) As IAsyncOperation( Of WebAccount )// You can use this method in JavaScript.
- webAccountId
- PlatForm::String String String String
The Id for the web account.
- webAccountUserName
- PlatForm::String String String String
The user name for the web account.
- props
- IMapView<PlatForm::String, PlatForm::String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String>
Properties for the web account.
When this method completes, it returns the new web account.
- See Also
-
AddWebAccountAsync(String, String, IMapView<String, String>, WebAccountScope)AddWebAccountAsync(String, String, IMapView<String, String>, WebAccountScope)AddWebAccountAsync(String, String, IMapView<String, String>, WebAccountScope)AddWebAccountAsync(String, String, IMapView<String, String>, WebAccountScope)
AddWebAccountAsync(String, String, IMapView, WebAccountScope)
AddWebAccountAsync(String, String, IMapView, WebAccountScope)
AddWebAccountAsync(String, String, IMapView, WebAccountScope)
AddWebAccountAsync(String, String, IMapView, WebAccountScope)
Adds a new web account asynchronously with four inputs.
public : static IAsyncOperation<WebAccount> AddWebAccountAsync(PlatForm::String webAccountId, PlatForm::String webAccountUserName, IMapView<PlatForm::String, PlatForm::String> props, WebAccountScope scope)public static IAsyncOperation<WebAccount> AddWebAccountAsync(String webAccountId, String webAccountUserName, IReadOnlyDictionary<String, String> props, WebAccountScope scope)Public Static Function AddWebAccountAsync(webAccountId As String, webAccountUserName As String, props As IReadOnlyDictionary<String, String>, scope As WebAccountScope) As IAsyncOperation( Of WebAccount )// You can use this method in JavaScript.
- webAccountId
- PlatForm::String String String String
The Id for the web account.
- webAccountUserName
- PlatForm::String String String String
The user name for the web account.
- props
- IMapView<PlatForm::String, PlatForm::String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String>
Properties for the web account.
The scope of the web account.
When this method completes, it returns the new web account.
- See Also
AddWebAccountAsync(String, String, IMapView, WebAccountScope, String)
AddWebAccountAsync(String, String, IMapView, WebAccountScope, String)
AddWebAccountAsync(String, String, IMapView, WebAccountScope, String)
AddWebAccountAsync(String, String, IMapView, WebAccountScope, String)
Adds a new web account asynchronously with five inputs.
public : static IAsyncOperation<WebAccount> AddWebAccountAsync(PlatForm::String webAccountId, PlatForm::String webAccountUserName, IMapView<PlatForm::String, PlatForm::String> props, WebAccountScope scope, PlatForm::String perUserWebAccountId)public static IAsyncOperation<WebAccount> AddWebAccountAsync(String webAccountId, String webAccountUserName, IReadOnlyDictionary<String, String> props, WebAccountScope scope, String perUserWebAccountId)Public Static Function AddWebAccountAsync(webAccountId As String, webAccountUserName As String, props As IReadOnlyDictionary<String, String>, scope As WebAccountScope, perUserWebAccountId As String) As IAsyncOperation( Of WebAccount )// You can use this method in JavaScript.
- webAccountId
- PlatForm::String String String String
The Id for the web account.
- webAccountUserName
- PlatForm::String String String String
The user name for the web account.
- props
- IMapView<PlatForm::String, PlatForm::String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String>
Properties for the web account.
The scope of the web account.
- perUserWebAccountId
- PlatForm::String String String String
The per-user web account Id.
When this method completes, it returns the new web account.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
- See Also
-
AddWebAccountAsync(String, String, IMapView<String, String>, WebAccountScope)AddWebAccountAsync(String, String, IMapView<String, String>, WebAccountScope)AddWebAccountAsync(String, String, IMapView<String, String>, WebAccountScope)AddWebAccountAsync(String, String, IMapView<String, String>, WebAccountScope)
AddWebAccountForUserAsync(User, String, String, IMapView)
AddWebAccountForUserAsync(User, String, String, IMapView)
AddWebAccountForUserAsync(User, String, String, IMapView)
AddWebAccountForUserAsync(User, String, String, IMapView)
Adds a new web account. This process is tracked as belonging to a specified user (for use with multi-user-aware apps).
public : static IAsyncOperation<WebAccount> AddWebAccountForUserAsync(User user, PlatForm::String webAccountId, PlatForm::String webAccountUserName, IMapView<PlatForm::String, PlatForm::String> props)public static IAsyncOperation<WebAccount> AddWebAccountForUserAsync(User user, String webAccountId, String webAccountUserName, IReadOnlyDictionary<String, String> props)Public Static Function AddWebAccountForUserAsync(user As User, webAccountId As String, webAccountUserName As String, props As IReadOnlyDictionary<String, String>) As IAsyncOperation( Of WebAccount )// You can use this method in JavaScript.
- webAccountId
- PlatForm::String String String String
The Id for the web account.
- webAccountUserName
- PlatForm::String String String String
The user name for the web account.
- props
- IMapView<PlatForm::String, PlatForm::String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String>
Properties for the web account.
An asynchronous operation with the new web account.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
AddWebAccountForUserAsync(User, String, String, IMapView, WebAccountScope)
AddWebAccountForUserAsync(User, String, String, IMapView, WebAccountScope)
AddWebAccountForUserAsync(User, String, String, IMapView, WebAccountScope)
AddWebAccountForUserAsync(User, String, String, IMapView, WebAccountScope)
Adds a new web account. This process is tracked as belonging to a specified user (for use with multi-user-aware apps).
public : static IAsyncOperation<WebAccount> AddWebAccountForUserAsync(User user, PlatForm::String webAccountId, PlatForm::String webAccountUserName, IMapView<PlatForm::String, PlatForm::String> props, WebAccountScope scope)public static IAsyncOperation<WebAccount> AddWebAccountForUserAsync(User user, String webAccountId, String webAccountUserName, IReadOnlyDictionary<String, String> props, WebAccountScope scope)Public Static Function AddWebAccountForUserAsync(user As User, webAccountId As String, webAccountUserName As String, props As IReadOnlyDictionary<String, String>, scope As WebAccountScope) As IAsyncOperation( Of WebAccount )// You can use this method in JavaScript.
- webAccountId
- PlatForm::String String String String
The Id for the web account.
- webAccountUserName
- PlatForm::String String String String
The user name for the web account.
- props
- IMapView<PlatForm::String, PlatForm::String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String>
Properties for the web account.
The scope of the web account.
An asynchronous operation with the new web account.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
AddWebAccountForUserAsync(User, String, String, IMapView, WebAccountScope, String)
AddWebAccountForUserAsync(User, String, String, IMapView, WebAccountScope, String)
AddWebAccountForUserAsync(User, String, String, IMapView, WebAccountScope, String)
AddWebAccountForUserAsync(User, String, String, IMapView, WebAccountScope, String)
Adds a new web account. This process is tracked as belonging to a specified user (for use with multi-user-aware apps).
public : static IAsyncOperation<WebAccount> AddWebAccountForUserAsync(User user, PlatForm::String webAccountId, PlatForm::String webAccountUserName, IMapView<PlatForm::String, PlatForm::String> props, WebAccountScope scope, PlatForm::String perUserWebAccountId)public static IAsyncOperation<WebAccount> AddWebAccountForUserAsync(User user, String webAccountId, String webAccountUserName, IReadOnlyDictionary<String, String> props, WebAccountScope scope, String perUserWebAccountId)Public Static Function AddWebAccountForUserAsync(user As User, webAccountId As String, webAccountUserName As String, props As IReadOnlyDictionary<String, String>, scope As WebAccountScope, perUserWebAccountId As String) As IAsyncOperation( Of WebAccount )// You can use this method in JavaScript.
- webAccountId
- PlatForm::String String String String
The Id for the web account.
- webAccountUserName
- PlatForm::String String String String
The user name for the web account.
- props
- IMapView<PlatForm::String, PlatForm::String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String>
Properties for the web account.
The scope of the web account.
- perUserWebAccountId
- PlatForm::String String String String
The web account Id for this particular user.
An asynchronous operation with the new web account.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
ClearPerUserFromPerAppAccountAsync(WebAccount) ClearPerUserFromPerAppAccountAsync(WebAccount) ClearPerUserFromPerAppAccountAsync(WebAccount) ClearPerUserFromPerAppAccountAsync(WebAccount)
Clears the link between per-user and per-app web accounts.
public : static IAsyncAction ClearPerUserFromPerAppAccountAsync(WebAccount perAppAccount)public static IAsyncAction ClearPerUserFromPerAppAccountAsync(WebAccount perAppAccount)Public Static Function ClearPerUserFromPerAppAccountAsync(perAppAccount As WebAccount) As IAsyncAction// You can use this method in JavaScript.
- perAppAccount
- WebAccount WebAccount WebAccount WebAccount
The per-app web account to clear.
This method does not return a value.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
ClearViewAsync(WebAccount, Uri) ClearViewAsync(WebAccount, Uri) ClearViewAsync(WebAccount, Uri) ClearViewAsync(WebAccount, Uri)
Clears the view for a web account.
public : static IAsyncAction ClearViewAsync(WebAccount webAccount, Uri applicationCallbackUri)public static IAsyncAction ClearViewAsync(WebAccount webAccount, Uri applicationCallbackUri)Public Static Function ClearViewAsync(webAccount As WebAccount, applicationCallbackUri As Uri) As IAsyncAction// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account to clear the view for.
- applicationCallbackUri
- Uri Uri Uri Uri
The callback Uri that indicates the completion of the operation. The broker matches this Uri against every Uri that it is about to navigate to. The broker never navigates to this Uri, instead the broker returns the control back to the application when the user clicks a link or a web server redirection is made.
This method does not return a value.
ClearWebAccountPictureAsync(WebAccount) ClearWebAccountPictureAsync(WebAccount) ClearWebAccountPictureAsync(WebAccount) ClearWebAccountPictureAsync(WebAccount)
Clears a web account picture asynchronously.
public : static IAsyncAction ClearWebAccountPictureAsync(WebAccount webAccount)public static IAsyncAction ClearWebAccountPictureAsync(WebAccount webAccount)Public Static Function ClearWebAccountPictureAsync(webAccount As WebAccount) As IAsyncAction// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account to clear the picture from.
This method does not return a value.
DeleteWebAccountAsync(WebAccount) DeleteWebAccountAsync(WebAccount) DeleteWebAccountAsync(WebAccount) DeleteWebAccountAsync(WebAccount)
Deletes a web account asynchronously.
public : static IAsyncAction DeleteWebAccountAsync(WebAccount webAccount)public static IAsyncAction DeleteWebAccountAsync(WebAccount webAccount)Public Static Function DeleteWebAccountAsync(webAccount As WebAccount) As IAsyncAction// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The WebAccount to delete.
This method does not return a value.
FindAllProviderWebAccountsAsync() FindAllProviderWebAccountsAsync() FindAllProviderWebAccountsAsync() FindAllProviderWebAccountsAsync()
Finds all provider web accounts asynchronously.
public : static IAsyncOperation<IVectorView<WebAccount>> FindAllProviderWebAccountsAsync()public static IAsyncOperation<IReadOnlyList<WebAccount>> FindAllProviderWebAccountsAsync()Public Static Function FindAllProviderWebAccountsAsync() As IAsyncOperation( Of IReadOnlyListWebAccount )// You can use this method in JavaScript.
When this method completes, it returns all provider web accounts.
FindAllProviderWebAccountsForUserAsync(User) FindAllProviderWebAccountsForUserAsync(User) FindAllProviderWebAccountsForUserAsync(User) FindAllProviderWebAccountsForUserAsync(User)
Finds all provider web accounts associated with a given user asynchronously (for use with multi-user-aware apps).
public : static IAsyncOperation<IVectorView<WebAccount>> FindAllProviderWebAccountsForUserAsync(User user)public static IAsyncOperation<IReadOnlyList<WebAccount>> FindAllProviderWebAccountsForUserAsync(User user)Public Static Function FindAllProviderWebAccountsForUserAsync(user As User) As IAsyncOperation( Of IReadOnlyListWebAccount )// You can use this method in JavaScript.
When this method completes, it returns all provider web accounts for the user.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
GetPerUserFromPerAppAccountAsync(WebAccount) GetPerUserFromPerAppAccountAsync(WebAccount) GetPerUserFromPerAppAccountAsync(WebAccount) GetPerUserFromPerAppAccountAsync(WebAccount)
Gets a per-user web account from a per-app web account.
public : static IAsyncOperation<WebAccount> GetPerUserFromPerAppAccountAsync(WebAccount perAppAccount)public static IAsyncOperation<WebAccount> GetPerUserFromPerAppAccountAsync(WebAccount perAppAccount)Public Static Function GetPerUserFromPerAppAccountAsync(perAppAccount As WebAccount) As IAsyncOperation( Of WebAccount )// You can use this method in JavaScript.
- perAppAccount
- WebAccount WebAccount WebAccount WebAccount
The per-app web account.
When this method completes, it returns the per-user web account linked to the given per-app account.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
GetScope(WebAccount) GetScope(WebAccount) GetScope(WebAccount) GetScope(WebAccount)
Gets the scope of the web account.
public : static WebAccountScope GetScope(WebAccount webAccount)public static WebAccountScope GetScope(WebAccount webAccount)Public Static Function GetScope(webAccount As WebAccount) As WebAccountScope// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account to get scope for.
The scope of the web account.
GetViewsAsync(WebAccount) GetViewsAsync(WebAccount) GetViewsAsync(WebAccount) GetViewsAsync(WebAccount)
Gets the views for a web account asynchronously.
public : static IAsyncOperation<IVectorView<WebAccountClientView>> GetViewsAsync(WebAccount webAccount)public static IAsyncOperation<IReadOnlyList<WebAccountClientView>> GetViewsAsync(WebAccount webAccount)Public Static Function GetViewsAsync(webAccount As WebAccount) As IAsyncOperation( Of IReadOnlyListWebAccountClientView )// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account to get views for.
When this method completes, it returns the views for the web account.
InvalidateAppCacheForAccountAsync(WebAccount) InvalidateAppCacheForAccountAsync(WebAccount) InvalidateAppCacheForAccountAsync(WebAccount) InvalidateAppCacheForAccountAsync(WebAccount)
Prerelease. Clears the web account manager's token cache for a specific web account.
public : static IAsyncAction InvalidateAppCacheForAccountAsync(WebAccount webAccount)public static IAsyncAction InvalidateAppCacheForAccountAsync(WebAccount webAccount)Public Static Function InvalidateAppCacheForAccountAsync(webAccount As WebAccount) As IAsyncAction// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account for which tokens will be cleared.
This method does not return a value.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Remarks
This method should be called whenever a web account provider app detects that a token cached by the web account manager for a specific account is invalid.
InvalidateAppCacheForAllAccountsAsync() InvalidateAppCacheForAllAccountsAsync() InvalidateAppCacheForAllAccountsAsync() InvalidateAppCacheForAllAccountsAsync()
Prerelease. Clears the web account manager's token cache for all web accounts.
public : static IAsyncAction InvalidateAppCacheForAllAccountsAsync()public static IAsyncAction InvalidateAppCacheForAllAccountsAsync()Public Static Function InvalidateAppCacheForAllAccountsAsync() As IAsyncAction// You can use this method in JavaScript.
This method does not return a value.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Remarks
This method should be called whenever a web account provider app detects that a token cached by the web account manager is invalid.
PullCookiesAsync(String, String) PullCookiesAsync(String, String) PullCookiesAsync(String, String) PullCookiesAsync(String, String)
Pulls cookies asynchronously. Use this to enable single sign-on in an app after a user has entered their credentials into a web browser.
public : static IAsyncAction PullCookiesAsync(PlatForm::String uriString, PlatForm::String callerPFN)public static IAsyncAction PullCookiesAsync(String uriString, String callerPFN)Public Static Function PullCookiesAsync(uriString As String, callerPFN As String) As IAsyncAction// You can use this method in JavaScript.
- uriString
- PlatForm::String String String String
The Uri to pull cookies from.
- callerPFN
- PlatForm::String String String String
The caller's package family name.
This method does not return a value.
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
PushCookiesAsync(Uri, IVectorView)
PushCookiesAsync(Uri, IVectorView)
PushCookiesAsync(Uri, IVectorView)
PushCookiesAsync(Uri, IVectorView)
Pushes cookies asynchronously. Use this to enable single sign-on for a web account in a browser after the user has entered their credentials into the app.
public : static IAsyncAction PushCookiesAsync(Uri uri, IVectorView<HttpCookie> cookies)public static IAsyncAction PushCookiesAsync(Uri uri, IReadOnlyList<HttpCookie> cookies)Public Static Function PushCookiesAsync(uri As Uri, cookies As IReadOnlyList<HttpCookie>) As IAsyncAction// You can use this method in JavaScript.
- uri
- Uri Uri Uri Uri
The Uri to push the cookies to.
- cookies
- IVectorView<HttpCookie> IReadOnlyList<HttpCookie> IReadOnlyList<HttpCookie> IReadOnlyList<HttpCookie>
The cookies to push.
This method does not return a value.
SetPerAppToPerUserAccountAsync(WebAccount, String) SetPerAppToPerUserAccountAsync(WebAccount, String) SetPerAppToPerUserAccountAsync(WebAccount, String) SetPerAppToPerUserAccountAsync(WebAccount, String)
Creates a per-app to per-user account link.
public : static IAsyncAction SetPerAppToPerUserAccountAsync(WebAccount perAppAccount, PlatForm::String perUserWebAccountId)public static IAsyncAction SetPerAppToPerUserAccountAsync(WebAccount perAppAccount, String perUserWebAccountId)Public Static Function SetPerAppToPerUserAccountAsync(perAppAccount As WebAccount, perUserWebAccountId As String) As IAsyncAction// You can use this method in JavaScript.
- perAppAccount
- WebAccount WebAccount WebAccount WebAccount
The per-app web account.
- perUserWebAccountId
- PlatForm::String String String String
The web account Id of the per-user web account to link.
This method does not return a value.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
SetScopeAsync(WebAccount, WebAccountScope) SetScopeAsync(WebAccount, WebAccountScope) SetScopeAsync(WebAccount, WebAccountScope) SetScopeAsync(WebAccount, WebAccountScope)
Sets the scope of a web account asynchronously.
public : static IAsyncAction SetScopeAsync(WebAccount webAccount, WebAccountScope scope)public static IAsyncAction SetScopeAsync(WebAccount webAccount, WebAccountScope scope)Public Static Function SetScopeAsync(webAccount As WebAccount, scope As WebAccountScope) As IAsyncAction// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account to set scope for.
The scope to set.
This method does not return a value.
SetViewAsync(WebAccount, WebAccountClientView) SetViewAsync(WebAccount, WebAccountClientView) SetViewAsync(WebAccount, WebAccountClientView) SetViewAsync(WebAccount, WebAccountClientView)
Sets the view for a web account asynchronously.
public : static IAsyncAction SetViewAsync(WebAccount webAccount, WebAccountClientView view)public static IAsyncAction SetViewAsync(WebAccount webAccount, WebAccountClientView view)Public Static Function SetViewAsync(webAccount As WebAccount, view As WebAccountClientView) As IAsyncAction// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account to set the view for.
The view to set.
This method does not return a value.
SetWebAccountPictureAsync(WebAccount, IRandomAccessStream) SetWebAccountPictureAsync(WebAccount, IRandomAccessStream) SetWebAccountPictureAsync(WebAccount, IRandomAccessStream) SetWebAccountPictureAsync(WebAccount, IRandomAccessStream)
Sets the picture of a web account asynchronously.
public : static IAsyncAction SetWebAccountPictureAsync(WebAccount webAccount, IRandomAccessStream webAccountPicture)public static IAsyncAction SetWebAccountPictureAsync(WebAccount webAccount, IRandomAccessStream webAccountPicture)Public Static Function SetWebAccountPictureAsync(webAccount As WebAccount, webAccountPicture As IRandomAccessStream) As IAsyncAction// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account to set the picture for.
- webAccountPicture
- IRandomAccessStream IRandomAccessStream IRandomAccessStream IRandomAccessStream
The picture to set.
This method does not return a value.
UpdateWebAccountPropertiesAsync(WebAccount, String, IMapView)
UpdateWebAccountPropertiesAsync(WebAccount, String, IMapView)
UpdateWebAccountPropertiesAsync(WebAccount, String, IMapView)
UpdateWebAccountPropertiesAsync(WebAccount, String, IMapView)
Updates the properties of a web account asynchronously.
public : static IAsyncAction UpdateWebAccountPropertiesAsync(WebAccount webAccount, PlatForm::String webAccountUserName, IMapView<PlatForm::String, PlatForm::String> additionalProperties)public static IAsyncAction UpdateWebAccountPropertiesAsync(WebAccount webAccount, String webAccountUserName, IReadOnlyDictionary<String, String> additionalProperties)Public Static Function UpdateWebAccountPropertiesAsync(webAccount As WebAccount, webAccountUserName As String, additionalProperties As IReadOnlyDictionary<String, String>) As IAsyncAction// You can use this method in JavaScript.
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account to update.
- webAccountUserName
- PlatForm::String String String String
The username to update.
- additionalProperties
- IMapView<PlatForm::String, PlatForm::String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String> IReadOnlyDictionary<String, String>
The properties to update.
This method does not return a value.