Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.44 KB | None | 0 0
  1.                 UserInformation user = account.RepresentUser;
  2.                 // if the user is a service user not represented as an entry in UserInformationSet, the user performing the operation        
  3.                 // through the portal is used instead
  4.  
  5.                 if (user == null || account.AccountName.StartsWith("s_inf", StringComparison.OrdinalIgnoreCase))
  6.                 {
  7.                     user = portalUser;
  8.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement