Show / Hide Table of Contents

Class SystemInfo

System information utility class

Inheritance
Object
SystemInfo
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Utils
Assembly:FubarDev.WebDavServer.dll
Syntax
public static class SystemInfo

Fields

| Improve this Doc View Source

UserHomePathClaim

The name of the claim for the user home path

Declaration
public const string UserHomePathClaim = "DAV:user-home-path"
Field Value
Type Description
String

Methods

| Improve this Doc View Source

GetHomePath()

Gets the home path information

Declaration
[NotNull]
public static SystemInfo.HomePathInfo GetHomePath()
Returns
Type Description
SystemInfo.HomePathInfo

The found home path

| Improve this Doc View Source

GetUserHomePath(IPrincipal, String, String)

Gets the home path of the user

Declaration
[NotNull]
public static string GetUserHomePath([NotNull] IPrincipal principal, string homePath = null, string anonymousUserName = null)
Parameters
Type Name Description
IPrincipal principal

The principal to get the home path for

String homePath

The home path to use

String anonymousUserName

The user name for the unauthenticated user

Returns
Type Description
String

The home path of the user

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX