'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.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - other
- User identity with overriding token infos.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).
This return value of this method should not be ignored.