DeleteUserSpaceRestriction

Deletes a space restriction for an object

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM
SMP Aware:No
Service:Volume

Syntax

   #include <nwdir.h> 
    
    int DeleteUserSpaceRestriction (  
       int    volume, 
       LONG   objectID);
   

Parameters

volume

(IN) Specifies the volume number on the volume where the user restriction is to be removed.

objectID

(IN) Specifies the user’s object ID.

Return Values

Value

Hex

Constant

0

(0x00)

ESUCCESS

NetWare Error

UNSUCCESSFUL

Remarks

This function removes a space restriction on an object.

DeleteUserSpaceRestriction is not supported in a NetWare 2.x environment. On remote servers running NetWare 2.x, this function returns error code 251 (ERR_UNKNOWN_REQUEST).

See Also

AddUserSpaceRestriction, AddSpaceRestrictionForDirectory, GetVolumeNumber (Volume Management), ReturnSpaceRestrictionForDirectory