Поделиться через


WebUser.InternalPrincipal Свойство

Определение

Возвращает или задает основной объект, представляющий текущего пользователя.

protected:
 virtual property System::Security::Principal::IPrincipal ^ InternalPrincipal { System::Security::Principal::IPrincipal ^ get(); void set(System::Security::Principal::IPrincipal ^ value); };
protected override System.Security.Principal.IPrincipal InternalPrincipal { get; set; }
member this.InternalPrincipal : System.Security.Principal.IPrincipal with get, set
Protected Overrides Property InternalPrincipal As IPrincipal

Значение свойства

Объект IPrincipal , представляющий текущего пользователя.

Комментарии

В объекте WebUser это свойство упаковывает User свойство HttpContext.Current свойства.

Дополнительные сведения см. в свойстве CurrentPrincipal .

Применяется к

См. также раздел