Platform SDK: Network Management

access_list

Windows 95/98: The access_list structure defines the resource permissions for individual users and groups.

Windows NT/2000: This structure is not supported on Windows NT/Windows 2000.

struct _access_list {
  char       acl_ugname[LM20_UNLEN+1];
  char       acl_ugname_pad_1;
  short      acl_access;
};

Members

acl_ugname
Specifies a string that contains a username or a groupname. The constant UNLEN specifies the maximum number of characters in the name.
acl_ugname_pad_1
Specifies padding inserted to align the next member.
acl_access
Describes the permissions associated with the username or groupname. This member can be a combination of the following values.
Value Meaning
ACCESS_READ Permission to read data from a resource and, by default, to execute the resource.
ACCESS_WRITE Permission to write data to the resource.
ACCESS_CREATE Permission to create an instance of the resource (such as a file); data can be written to the resource when the resource is created.
ACCESS_EXEC Permission to execute the resource.
ACCESS_DELETE Permission to delete the resource.
ACCESS_ATRIB Permission to modify the resource's attributes (such as the date and time when a file was last modified).
ACCESS_PERM Permission to modify the permissions (read, write, create, execute, and delete) assigned to a resource for a user or application.
ACCESS_ALL Permission to read, write, create, execute, and delete resources, and to modify their attributes and permissions.
ACCESS_GROUP Permission for a particular group; this value indicates that the entry is for a group.
ACCESS_NONE The user does not have access to the resource.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Svrapi.h.

See Also

Network Management Overview, Network Management Structures, Access Functions, access_info_1, NetAccessEnum, NetAccessGetInfo, NetAccessSetInfo