HttpRequestMessageExtensionMethods.GetUserPrincipal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the user principal associated with the specified HTTP request message.
public:
[System::Runtime::CompilerServices::Extension]
static System::Security::Principal::IPrincipal ^ GetUserPrincipal(System::Net::Http::HttpRequestMessage ^ httpRequestMessage);
public static System.Security.Principal.IPrincipal GetUserPrincipal (this System.Net.Http.HttpRequestMessage httpRequestMessage);
static member GetUserPrincipal : System.Net.Http.HttpRequestMessage -> System.Security.Principal.IPrincipal
<Extension()>
Public Function GetUserPrincipal (httpRequestMessage As HttpRequestMessage) As IPrincipal
Parameters
- httpRequestMessage
- HttpRequestMessage
The HTTP request message from which to get the user principal.
Returns
The user principal associated with the specified HTTP request message.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.