Not logged in : Login |
Almost each detail in a user's profile can have its individual privacy setting as detailed in ODS User Privacy Settings. This method allows to change these privacy settings.The following user detail identifier are supported:
title firstName lastName fullName mail gender birthday homepage webIDs mailSignature icq skype yahoo aim msn homeAddress1 homeCountry homeTimezone homePhone businessIndustry businessOrganization businessJob businessAddress1 businessCountry businessTimezone businessPhone businessRegNo businessCareer businessEmployees businessVendor businessService businessOther businessNetwork summary businessResume photo homeLatitude audio businessLatitude interests topicInterests businessIcq businessSkype businessYahoo businessAim businessMsn homeCode homeCity homeState businessCode businessCity businessState
acls
A list of URL-parameter style key/value pairs where each key corresponds to one user profile detail and each value refers to its visibility. A simple example would be "gender=1&birthday=3&photo=1" which would set the gender to be public, the birthday to be controlled by fine grained ACLs, and the photo to be public, too. The visibility value can be one of the following:
1 - The detail is public2 - The detail is controlled by ACLs. See also acl.rule.new().3 - The detail is private
An error code stating the success of the command execution as detailed in ODS Error Result Codes.
user.acl.info()
Example:
$ curl -i "http://ods.openlinksw.com/ods/api/user.acl.update?user_name=demo&password_hash=49e473da03fbd296f05b5f0bf1f3301b5e4a67fc&acls=gender%3D1%26birthday%3D3%26photo%3D1"
HTTP/1.1 200 OK
Server: Virtuoso/06.01.3127 (Linux) x86_64-unknown-linux-gnu
Connection: Keep-Alive
Date: Wed, 18 Apr 2012 09:07:25 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 57
1
Attributes | Values |
---|---|
type | |
schema:url | |
schema:httpMethod |
|
schema:contentType |
|
http://www.openlin...es#isWebServiceOf | |
http://www.openlin...vices#endPointURL | |
schema:shortDescription |
|
http://www.openlin...ices#hasParameter | |
schema:name |
|
schema:description |
An error code stating the success of the command execution as detailed in ODS Error Result Codes. $ curl -i "http://ods.openlinksw.com/ods/api/user.acl.update?user_name=demo&password_hash=49e473da03fbd296f05b5f0bf1f3301b5e4a67fc&acls=gender%3D1%26birthday%3D3%26photo%3D1" HTTP/1.1 200 OK Server: Virtuoso/06.01.3127 (Linux) x86_64-unknown-linux-gnu Connection: Keep-Alive Date: Wed, 18 Apr 2012 09:07:25 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 57 <result><code>1</code><message>Success</message></result> This function requries authentication via one of the supported authentication methods as described in ODS Authentication. |
is schema:target of |