Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Contains flags used for setting security access levels.
Syntax
typedef enum tag_WBEM_SECURITY_FLAGS {
WBEM_ENABLE = 1,
WBEM_METHOD_EXECUTE = 2,
WBEM_FULL_WRITE_REP = 4,
WBEM_PARTIAL_WRITE_REP = 8,
WBEM_WRITE_PROVIDER = 0x10,
WBEM_REMOTE_ACCESS = 0x20,
WBEM_RIGHT_SUBSCRIBE = 0x40,
WBEM_RIGHT_PUBLISH = 0x80
} WBEM_SECURITY_FLAGS;
Constants
WBEM_ENABLEValue: 1 Enables the account and grants the user read permissions. This is a default access right for all users and corresponds to the Enable Account permission on the Security tab of the WMI Control. For more information, see Setting Namespace Security with the WMI Control. |
WBEM_METHOD_EXECUTEValue: 2 Allows the execution of methods. Providers can perform additional access checks. This is a default access right for all users and corresponds to the Execute Methods permission on the Security tab of the WMI Control. |
WBEM_FULL_WRITE_REPValue: 4 Allows a user account to write to classes in the WMI repository as well as instances. A user cannot write to system classes. Only members of the Administrators group have this permission. WBEM_FULL_WRITE_REP corresponds to the Full Write permission on the Security tab of the WMI Control. |
WBEM_PARTIAL_WRITE_REPValue: 8 Allows you to write data to instances only, not classes. A user cannot write classes to the WMI repository. Only members of the Administrators group have this right. WBEM_PARTIAL_WRITE_REP corresponds to the Partial Write permission on the Security tab of the WMI Control. |
WBEM_WRITE_PROVIDERValue: 0x10 Allows writing classes and instances to providers. Note that providers can do additional access checks when impersonating a user. This is a default access right for all users and corresponds to the Provider Write permission on the Security tab of the WMI Control. |
WBEM_REMOTE_ACCESSValue: 0x20 Allows a user account to remotely perform any operations allowed by the permissions described above. Only members of the Administrators group have this right. WBEM_REMOTE_ACCESS corresponds to the Remote Enable permission on the Security tab of the WMI Control. |
WBEM_RIGHT_SUBSCRIBEValue: 0x40 Specifies that a consumer can subscribe to the events delivered to a sink. Used in IWbemEventSink::SetSinkSecurity. |
WBEM_RIGHT_PUBLISHValue: 0x80 Specifies that the account can publish events to the instance of __EventFilter that defines the event filter for a permanent consumer. Available in wbemcli.h. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Header | wbemcli.h |