A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Models.UserExtensions.html below:

View Source Class UserExtensions Inheritance

System.Object

Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntax
public static class UserExtensions
Methods View Source CalculateAllowedLanguageIds(IUser, ILocalizationService)

Calculate start nodes, combining groups' and user's, and excluding what's in the bin

Declaration
public static int[] CalculateAllowedLanguageIds(this IUser user, ILocalizationService localizationService)
Parameters Returns Type Description System.Int32[] View Source CalculateContentStartNodeIds(IUser, IEntityService, AppCaches) Declaration
public static int[] CalculateContentStartNodeIds(this IUser user, IEntityService entityService, AppCaches appCaches)
Parameters Returns Type Description System.Int32[] View Source CalculateMediaStartNodeIds(IUser, IEntityService, AppCaches)

Calculate start nodes, combining groups' and user's, and excluding what's in the bin

Declaration
public static int[] CalculateMediaStartNodeIds(this IUser user, IEntityService entityService, AppCaches appCaches)
Parameters Returns Type Description System.Int32[] View Source GetContentStartNodePaths(IUser, IEntityService, AppCaches) Declaration
public static string[] GetContentStartNodePaths(this IUser user, IEntityService entityService, AppCaches appCaches)
Parameters Returns Type Description System.String[] View Source GetMediaStartNodePaths(IUser, IEntityService, AppCaches) Declaration
public static string[] GetMediaStartNodePaths(this IUser user, IEntityService entityService, AppCaches appCaches)
Parameters Returns Type Description System.String[] View Source GetUserAvatarUrls(IUser, IAppCache, MediaFileManager, IImageUrlGenerator)

Tries to lookup the user's Gravatar to see if the endpoint can be reached, if so it returns the valid URL

Declaration
public static string[] GetUserAvatarUrls(this IUser user, IAppCache cache, MediaFileManager mediaFileManager, IImageUrlGenerator imageUrlGenerator)
Parameters Returns Type Description System.String[]

A list of 5 different sized avatar URLs

View Source HasAccessToSensitiveData(IUser)

Determines whether this user has access to view sensitive data

Declaration
public static bool HasAccessToSensitiveData(this IUser user)
Parameters Type Name Description IUser user Returns Type Description System.Boolean View Source HasContentPathAccess(IUser, IUmbracoEntity, IEntityService, AppCaches) Declaration
public static bool HasContentPathAccess(this IUser user, IUmbracoEntity entity, IEntityService entityService, AppCaches appCaches)
Parameters Returns Type Description System.Boolean View Source HasMediaPathAccess(IUser, IUmbracoEntity, IEntityService, AppCaches) Declaration
public static bool HasMediaPathAccess(this IUser user, IUmbracoEntity entity, IEntityService entityService, AppCaches appCaches)
Parameters Returns Type Description System.Boolean View Source HasPathAccess(IUser, IContent, IEntityService, AppCaches) Declaration
public static bool HasPathAccess(this IUser user, IContent content, IEntityService entityService, AppCaches appCaches)
Parameters Returns Type Description System.Boolean View Source HasPathAccess(IUser, IMedia, IEntityService, AppCaches) Declaration
public static bool HasPathAccess(this IUser user, IMedia media, IEntityService entityService, AppCaches appCaches)
Parameters Returns Type Description System.Boolean

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4