次の方法で共有


SPGlobalAdmin.AdminFormDigest property

NOTE: This API is now obsolete.

Use the FormDigest class instead to implement security validation. (In Windows SharePoint Services 2.0, the AdminFormDigest property got the security validation that was used for a request in a SharePoint Central Administration page, and is maintained for backward compatibility.)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Include a FormDigest control instead.")> _
Public ReadOnly Property AdminFormDigest As String
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As String

value = instance.AdminFormDigest
[ObsoleteAttribute("Include a FormDigest control instead.")]
public string AdminFormDigest { get; }

Property value

Type: System.String
A string that contains the security validation.

Remarks

Unlike the security validation used in a page for working with site or list data, the security validation for a global administrative page has a built-in time-out of 30 minutes and is not configurable. Security validation cannot be disabled for global administrative pages.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace