Brecham.Obex — An OBEX library for the .NET Framework

ObexFileOrFolderItem.UserPerm Property

The access permissions for the object as applying to the user.

[Visual Basic]
Public Property UserPerm As String
[C#]
public string UserPerm {get; set;}

Remarks

“These attributes convey the access permissions for the object. The permissions are encoded based on the access currently available to this user over the object listed. The following alphabetic characters are used to describe access:

R”, “W”, “D

The value of the permissions type is an unordered sequence of these alphabetic characters. The permissions indicators are case independent.

R: The READ permission applies to all object types. It indicates that an attempt to GET the named object should successfully retrieve its contents.

D: The DELETE permission applies to file types. It indicates that the file may be removed by sending a PUT-DELETE command.

W: The WRITE permission applies to all object types. It indicates that an attempt to modify the contents of the file by PUT’ing to the file should succeed. For folder objects it indicates that attempts to create a folder or other object within that folder should succeed.

There are three levels of permissions. These are for systems that distinguish between access for the user, the group and other. The default permissions attribute is user.

Note: A permission indicator does not imply that the appropriate command is guaranteed to work — just that it might. Other system specific limitations, such as limitations on available space for storing objects, may cause an operation to fail, where the permission flags may have indicated that it was likely to succeed. The permissions are a guide only. Some systems may have more specific permissions than those listed here, such systems should map those to the flags defined as best they are able.”

See Also

ObexFileOrFolderItem Class | Brecham.Obex.Objects Namespace | GroupPerm | OtherPerm