DataServiceConfiguration.SetServiceOperationAccessRule 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.
Sets the permissions for the specified service operation.
public:
virtual void SetServiceOperationAccessRule(System::String ^ name, System::Data::Services::ServiceOperationRights rights);
public void SetServiceOperationAccessRule (string name, System.Data.Services.ServiceOperationRights rights);
abstract member SetServiceOperationAccessRule : string * System.Data.Services.ServiceOperationRights -> unit
override this.SetServiceOperationAccessRule : string * System.Data.Services.ServiceOperationRights -> unit
Public Sub SetServiceOperationAccessRule (name As String, rights As ServiceOperationRights)
Parameters
- name
- String
Name of the service operation for which to set permissions.
- rights
- ServiceOperationRights
Access rights to be granted to this resource, passed as a ServiceOperationRights value.
Implements
Remarks
When you specify a value of '*' for the name
parameter, permissions are set for all service operations that do not have the permissions explicitly set.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για