public class BaseUserProfileLookup : IUserProfileLookup| AccountURLLookUp | Returns the passed in user's Account URL based on the passed in User Id. Returns null if the user doesn't have one, or if the Visibility is not public. |
| ClearCache | Clears all records from the cache. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| GetUserProfile | Returns the complete User Profile Object, based on either the passed in Account URL or User ID (either values are accepted) Returns null if the user doesn't have one, or if the Visibility is not public. |
| HasPublicProfile | Returns true, if the passed in id has a public profile page. User should call RefreshUserProfileVisibilityAsync() prior to calling this method to help ensure cache is udpated. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| RefreshUserProfileVisibilityAsync | Refreshes and updates the cache copy of the user_profile table. It is a best practice to call this method after constructing a UserProfileDB instance. |
| SetUserProfile | Temporarily overrides the user profile values in the cache for the passed in user id. These values will remain active, until the next time the cache is updated from the database, which is every 15 mins or so. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| UserIdLookUp | Returns the passed in user's User Id based on the passed in Account URL. Returns null if the user doesn't have one, or if the Visibility is not public. |