'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Shared Function OverrideBy( _ ByVal userIdentity As UserIdentity, _ ByVal other As UserIdentity _ ) As UserIdentity
'Usage
Dim userIdentity As UserIdentity Dim other As UserIdentity Dim value As UserIdentity value = UserIdentityExtension.OverrideBy(userIdentity, other)
[Extension()] [NotNull()] public static UserIdentity OverrideBy( UserIdentity userIdentity, UserIdentity other )
[Extension()] [NotNull()] public: static UserIdentity^ OverrideBy( UserIdentity^ userIdentity, UserIdentity^ other )
Parameters
- userIdentity
- Specifies user's identity, using one or more token infos, such as anonymous, username, Kerberos, or X.509 certificate.
- other
- User identity with overriding token infos.
Return Value
Returns the new, modified user identity.