Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

FSetAccessRights (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

MgErr FSetAccessRights(path, owner, group, permPtr);

Purpose

Sets access rights information for the specified file or directory. If an error occurs, no information changes.

Parameters

Name Type Description
path Path Path of the file or directory for which you want to set access rights information.
owner PStr New owner that FSetAccessRights sets for the file or directory if owner is not NULL.
group PStr New group that FSetAccessRights sets for the file or directory if group is not NULL.
permPtr int32 * Address of new permissions that FSetAccessRights sets for the file or directory if permPtr is not NULL.

Return Value

MgErr, which can contain the following errors. If you receive errors from CIN functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1
fIOErr6
fNotFound7

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit