Browse Source
Merge pull request #11172 from abpframework/maliming-patch-1
Add this to the extension method.
pull/11173/head
liangshiwei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs/en/Authorization.md
|
|
|
@ -452,7 +452,7 @@ public class SocialSecurityNumberClaimsPrincipalContributor : IAbpClaimsPrincipa |
|
|
|
|
|
|
|
public static class CurrentUserExtensions |
|
|
|
{ |
|
|
|
public static string GetSocialSecurityNumber(ICurrentUser currentUser) |
|
|
|
public static string GetSocialSecurityNumber(this ICurrentUser currentUser) |
|
|
|
{ |
|
|
|
return currentUser.FindClaimValue("SocialSecurityNumber"); |
|
|
|
} |
|
|
|
|