共用方式為


Security Members

Include Protected Members
Include Inherited Members

Includes methods for checking user permissions and managing security groups, templates, categories, and organizational permissions in Project Server.

The Security type exposes the following members.

Constructors

  Name Description
Public method Security Creates a Security object from the ASMX-based Security web service.

Top

Properties

  Name Description
Public property AllowAutoRedirect (Inherited from HttpWebClientProtocol.)
Protected property CanRaiseEvents (Inherited from Component.)
Public property ClientCertificates (Inherited from HttpWebClientProtocol.)
Public property ConnectionGroupName (Inherited from WebClientProtocol.)
Public property Container (Inherited from Component.)
Public property CookieContainer (Inherited from HttpWebClientProtocol.)
Public property Credentials (Inherited from WebClientProtocol.)
Protected property DesignMode (Inherited from Component.)
Public property EnableDecompression (Inherited from HttpWebClientProtocol.)
Protected property Events (Inherited from Component.)
Public property PreAuthenticate (Inherited from WebClientProtocol.)
Public property Proxy (Inherited from HttpWebClientProtocol.)
Public property RequestEncoding (Inherited from WebClientProtocol.)
Public property Site (Inherited from Component.)
Public property SoapVersion (Inherited from SoapHttpClientProtocol.)
Public property Timeout (Inherited from WebClientProtocol.)
Public property UnsafeAuthenticatedConnectionSharing (Inherited from HttpWebClientProtocol.)
Public property Url (Inherited from WebClientProtocol.)
Public property UseDefaultCredentials (Inherited from WebClientProtocol.)
Public property UserAgent (Inherited from HttpWebClientProtocol.)

Top

Methods

  Name Description
Public method Abort (Inherited from WebClientProtocol.)
Protected method BeginInvoke (Inherited from SoapHttpClientProtocol.)
Protected method CancelAsync (Inherited from HttpWebClientProtocol.)
Public method CheckUserGlobalPermission Checks whether the current user has the specified global permission.
Public method CheckUserGlobalPermissions Checks whether the current user has one or more of the specified global permissions.
Public method CheckUserObjectPermission Checks whether the current user has the single specified security category permission for a project or resource object.
Public method CheckUserObjectPermissions Checks whether the current user has one or more of the specified security category permissions for a project or resource object.
Public method CheckUserProjectPermission Checks whether the current user has the specified security category permission for a specified project.
Public method CheckUserProjectPermissions Checks whether the current user has one or more of the specified security category permissions for a specified project.
Public method CheckUserResourcePermission Checks whether the current user has the specified security category permission for a specified resource.
Public method CheckUserResourcePermissions Checks whether the current user has one or more of the specified security category permissions for a specified resource.
Public method CreateCategories Creates one or more security categories.
Public method CreateGroups Creates one or more security groups.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method CreateProjectCategories Creates Project categories for web security.
Public method CreateTemplates Creates one or more security templates.
Public method DeleteCategories Deletes all specified security categories.
Public method DeleteGroups Deletes all specified security groups.
Public method DeleteProjectCategories Deletes Project category information for web security permissions.
Public method DeleteTemplates Deletes all specified security templates.
Public method Discover (Inherited from SoapHttpClientProtocol.)
Public method Dispose() (Inherited from Component.)
Protected method Dispose(Boolean) (Inherited from Component.)
Protected method EndInvoke (Inherited from SoapHttpClientProtocol.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Protected method GetReaderForMessage (Inherited from SoapHttpClientProtocol.)
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Protected method GetWebRequest (Inherited from SoapHttpClientProtocol.)
Protected method GetWebResponse(WebRequest) (Inherited from HttpWebClientProtocol.)
Protected method GetWebResponse(WebRequest, IAsyncResult) (Inherited from HttpWebClientProtocol.)
Protected method GetWriterForMessage (Inherited from SoapHttpClientProtocol.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method Invoke (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback) (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback, Object) (Inherited from SoapHttpClientProtocol.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ReadCategory Gets information about the specified security category.
Public method ReadCategoryList Gets information about all security categories in Project Server.
Public method ReadCategoryPermissions Gets information about all security category permissions.
Public method ReadGlobalPermissions Gets information about all global security permissions.
Public method ReadGroup Gets information about the specified security group.
Public method ReadGroupList Gets information about all security groups in Project Server.
Public method ReadOrganizationalPermissions Gets information about all organizational (Project Web App) permissions for Project Server.
Public method ReadProjectCategory Reads Project category information for web security.
Public method ReadProjectCategoryPermissionsAll Reads all Project categories information for web security permissions.
Public method ReadTemplate Gets information about the specified security template.
Public method ReadTemplateList Gets information about all security templates.
Public method SetCategories Updates one or more security categories.
Public method SetGroups Updates one or more security groups.
Public method SetTemplates Updates one or more security templates.
Public method ToString (Inherited from Component.)
Public method UpdateOrganizationalPermissions Updates organization permissions.
Public method UpdateProjectCategories Modifies (adds or deletes) subitems that are associated with Project security categories data.

Top

Events

  Name Description
Public event Disposed (Inherited from Component.)

Top

See Also

Reference

Security Class

Security Web Service