IAuthentication<T>.UpdateUser Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Updates the profile for the authenticated user.
Namespace: System.ServiceModel.DomainServices.Server.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
<RequiresAuthenticationAttribute> _
<UpdateAttribute> _
Sub UpdateUser ( _
user As T _
)
'Usage
Dim instance As IAuthentication
Dim user As T
instance.UpdateUser(user)
[RequiresAuthenticationAttribute]
[UpdateAttribute]
void UpdateUser(
T user
)
[RequiresAuthenticationAttribute]
[UpdateAttribute]
void UpdateUser(
T user
)
[<RequiresAuthenticationAttribute>]
[<UpdateAttribute>]
abstract UpdateUser :
user:'T -> unit
function UpdateUser(
user : T
)
Parameters
- user
Type: T
The updated user.
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | The authenticated identity does not have the correct permissions to update the user. |
See Also
Reference
System.ServiceModel.DomainServices.Server.ApplicationServices Namespace