'Declaration<ExtensionAttribute()> <JetBrains.Annotations.MustUseReturnValueAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Shared Function OverrideBy( _ ByVal userIdentity As UserIdentity, _ ByVal other As UserIdentity _ ) As UserIdentity
'UsageDim userIdentity As UserIdentity Dim other As UserIdentity Dim value As UserIdentity value = UserIdentityExtension.OverrideBy(userIdentity, other)
[Extension()] [JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.NotNull()] public static UserIdentity OverrideBy( UserIdentity userIdentity, UserIdentity other )
[Extension()] [JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.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(Nothingin Visual Basic). - other
- User identity with overriding token infos.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
This method never returns null (Nothing in Visual Basic).
This return value of this method should not be ignored.