UserBase.IPrincipal.Identity Property
[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.]
Gets the identity.
Namespace: System.ServiceModel.DomainServices.Server.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Private ReadOnly Property Identity As IIdentity
Implements IPrincipal.Identity
Get
'Usage
Dim instance As UserBase
Dim value As IIdentity
value = CType(instance, IPrincipal).Identity
IIdentity IPrincipal.Identity { get; }
private:
virtual property IIdentity^ Identity {
IIdentity^ get () sealed = IPrincipal::Identity::get;
}
private abstract Identity : IIdentity
private override Identity : IIdentity
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Property Value
Type: System.Security.Principal.IIdentity
The identity.
Implements
Remarks
This property is never nulla null reference (Nothing in Visual Basic).
This member is an explicit interface member implementation. It can be used only when the UserBase instance is cast to an IPrincipal interface.
See Also
Reference
System.ServiceModel.DomainServices.Server.ApplicationServices Namespace