IDataServiceConfiguration.SetEntitySetAccessRule Metoda

Definicja

Ustawia reguły dostępu dla określonego zestawu jednostek.

public:
 void SetEntitySetAccessRule(System::String ^ name, System::Data::Services::EntitySetRights rights);
public void SetEntitySetAccessRule (string name, System.Data.Services.EntitySetRights rights);
abstract member SetEntitySetAccessRule : string * System.Data.Services.EntitySetRights -> unit
Public Sub SetEntitySetAccessRule (name As String, rights As EntitySetRights)

Parametry

name
String

Nazwa zestawu jednostek dla skonfigurowanego dostępu.

rights
EntitySetRights

Uprawnienia dozwolone dla zestawu jednostek.

Uwagi

Domyślna konfiguracja to odmowa dostępu do zasobów. Podczas inicjowania usługi należy włączyć prawa dostępu.

Dotyczy