How to create local store adapters in bulk without using ODSM in OVD
Hello,
Our requirement is to create 62 local store adapters in OVD
Hence, it can not be done using manual effort
I have tried to do this using below approach:
Create an ldif containing 62 groups
Update adapters.os_xml to have the 62 nodes of "standard" per adapter
restart OVD
import ldif file in data browser in ODSM
However, this approach is not working
I am not able to search these groups in my configured OAM and getting "No profile configured for such kind of group" error in identity console of OAM (10g)
Please help
Thanks,
Purva
You cannot create a APPdomain without DNS manager.
You can install DNS role on a machine and update your sharepoint server's DNS to consume from this DNS server. APPdomain cannot work without DNS
Similar Messages
-
How to create different Graphs in SharePoint 2013 without using Excel service?
Hi All,
I want to create different graphs in SharePoint without using Excel Service.
I do not want to create excel and then upload that to SharePoint.
Any one knows how to do that? Isthere any option to do that?
Thanks in AdvanceHi Darsh,
You can use
SharePoint chart webpart to display charts. Or you can use any jQuery charting library and feed data using JSOM or REST. Ex. high charts:
http://www.highcharts.com/products/highcharts
http://office.microsoft.com/en-us/sharepoint-server-help/sharepoint-lists-vi-exciting-ways-to-display-your-list-data-RZ102425636.aspx?section=3
Best Regards,
Brij K -
ORACLE VIRTUAL DIRECTORY - Create Local Store Adapter
Hi,
I have some problem with the LSA creation.
I follow this steps:
*5.2 Creating a Local Store Adapter*
Create Local Store Adapter dc=oracle,dc=com, as follows:
*1.*
Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".
*2.*
Click the Adapter tab. On the Adapter page:
*1.*
Click the Create Adapter icon and choose Local Store Adapter.
*2.*
Enter the Adapter name LSA.
*3.*
Leave Template set to Default.
*4.*
Click Next.
*3.*
On the Settings page:
*1.*
Enter the Adapter Suffix/Namespace dc=oracle,dc=com.
*2.*
Enter data/localDB for Database File.
*3.*
Use the default values for the rest of the fields on the Settings page.
*4.*
Click Next.
*4.*
Review the summary page and click Finish if everything looks correct.
Note:
If, for some reason, you decide to delete the adapter and create a new one, use a different Adapter name and a different Database File name.
*5.3 Adding Entries*
Create an entry in the local store as follows:
*1.*
Using a text editor, create an LDIF file that looks like this:
version: 1
dn: dc=oracle,dc=com
objectclass: top
objectclass: domain
dc: oracle
*2.*
Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".
*3.*
Click the Data Browser tab.
*4.*
Highlight dc=oracle,dc=com under Client View.
*5.*
Click the Import LDIF icon.
*6.*
Browse to the LDIF file you created and click Open.
When I try to import the ldif I have this error:
__ldap_add: Object class violation (65)__
- vde.log
2009-09-22 13:25:09,732 DEBUG - VDELogger.java - Selected backend for:(Adapter#_OCTETSTRING_ROOT)
2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=CN=Users,DC=pluto,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=Users,OU=pippo,DC=pluto,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=BaseOU,DC=sysfil,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=CN=Users,DC=sysfil,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=ExternalUsers,OU=fiam,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=cn=Schema
2009-09-22 13:25:09,732 DEBUG - VDELogger.java - Routing selected by filter for: Adapter#_OCTETSTRING_ROOT
2009-09-22 13:25:09,732 DEBUG - VDELogger.java - setting backend com.octetstring.vde.backend.BackendRoot@676437
2009-09-22 13:25:09,747 DEBUG - VDELogger.java - runGet has all attribs : false
2009-09-22 13:25:10,982 DEBUG - VDELogger.java - Selected Default View for IP/DN: 127.0.0.1/cn=Admin
2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=
2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=CN=Users,DC=pluto,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=Users,OU=pippo,DC=pluto,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=BaseOU,DC=sysfil,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=CN=Users,DC=sysfil,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=ExternalUsers,OU=fiam,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=cn=Schema
2009-09-22 13:25:10,982 INFO - VDELogger.java - Attempted ADD has NO target adapters: dc=oracle,dc=com
2009-09-22 13:25:17,372 DEBUG - VDELogger.java - 'cn=Admin' Performed getServerInfo
2009-09-22 13:25:17,825 DEBUG - VDELogger.java - 'cn=Admin' Performed getServerInfo
2009-09-22 13:25:19,216 DEBUG - VDELogger.java - Reading schema for adapters
2009-09-22 13:25:19,216 DEBUG - VDELogger.java - Edit version # 18
2009-09-22 13:25:19,232 DEBUG - VDELogger.java - Schema version # 30
2009-09-22 13:25:19,232 WARN - VDELogger.java - Server configuration version (303) does not match configuration schema version(30).
2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Reading schema for adapters
2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Edit version # 18
2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Schema version # 303
2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Reading schema for adapters
2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Edit version # 18
2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Schema version # 303
2009-09-22 13:25:19,482 INFO - VDELogger.java - Provisioned adapters: [dc=oracle,dc=com
2009-09-22 13:25:19,482 INFO - VDELogger.java - 'cn=Admin' Provisioned adapters: [dc=oracle,dc=com]
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Reading schema for adapters
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Edit version # 19
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Schema version # 303
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Reading schema for adapters
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Edit version # 19
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Schema version # 303
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing INCLUSION filter for #dc=oracle,dc=com filter=
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing EXCLUSION filter for #dc=oracle,dc=com filter=
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - !Routing levels for: !dc=oracle,dc=com = -1
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing PLUG-IN filter for #dc=oracle,dc=com filter=
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing Priority filter for #dc=oracle,dc=com value=50
2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing criticality for #dc=oracle,dc=com value=true
2009-09-22 13:25:19,951 DEBUG - VDELogger.java - [#dc=oracle,dc=com] Presence index: [sn, cn, description, seeAlso, objectclass, ou, uid, mail]
2009-09-22 13:25:19,951 DEBUG - VDELogger.java - [#dc=oracle,dc=com] Exact index: []
2009-09-22 13:25:19,951 DEBUG - VDELogger.java - [#dc=oracle,dc=com] Ordering index: [sn, cn, description, seeAlso, objectclass, ou, uid, mail]
2009-09-22 13:25:19,951 DEBUG - VDELogger.java - [#dc=oracle,dc=com] Substring index: [sn, cn]
2009-09-22 13:25:19,951 WARN - VDELogger.java - Allowing searches for unindexed attributes
2009-09-22 13:25:19,966 INFO - VDELogger.java - [#dc=oracle,dc=com] Processing Outstanding Transactions
2009-09-22 13:25:19,966 INFO - VDELogger.java - Truncating Transaction Log
2009-09-22 13:25:20,966 INFO - VDELogger.java - [#dc=oracle,dc=com] Initializing Memory Indices
2009-09-22 13:25:20,966 INFO - VDELogger.java - 'cn=Admin' Loaded Adapters : [dc=oracle,dc=com]
2009-09-22 13:25:21,107 DEBUG - VDELogger.java - 'cn=Admin' Performed getServerInfo
2009-09-22 13:25:25,279 DEBUG - VDELogger.java - Periodic tracking cycle running.
2009-09-22 13:25:25,279 DEBUG - VDELogger.java - Current operations per connection (cn=Admin/10.68.3.154, 1/0).
2009-09-22 13:25:25,279 DEBUG - VDELogger.java - Current operations per connection (cn=Admin/10.31.16.23, 1/0).
2009-09-22 13:25:26,294 DEBUG - VDELogger.java - runGet has all attribs : false
2009-09-22 13:25:26,294 DEBUG - VDELogger.java - Selected Default View for IP/DN: 127.0.0.1/cn=Admin
2009-09-22 13:25:26,294 DEBUG - VDELogger.java - REQUEST dn= suffix=CN=Users,DC=pluto,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:26,294 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=Users,OU=pippo,DC=pluto,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:26,294 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=BaseOU,DC=sysfil,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:26,294 DEBUG - VDELogger.java - REQUEST dn= suffix=CN=Users,DC=sysfil,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:26,310 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=ExternalUsers,OU=fiam,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:26,310 DEBUG - VDELogger.java - REQUEST dn= suffix=dc=oracle,dc=com
2009-09-22 13:25:26,310 DEBUG - VDELogger.java - REQUEST dn= suffix=
2009-09-22 13:25:26,310 DEBUG - VDELogger.java - SELECT dn= suffix=
2009-09-22 13:25:26,310 DEBUG - VDELogger.java - Selected backend for:(Adapter#_OCTETSTRING_ROOT)
2009-09-22 13:25:26,310 DEBUG - VDELogger.java - REQUEST dn= suffix=cn=Schema
2009-09-22 13:25:26,310 DEBUG - VDELogger.java - Routing selected by filter for: Adapter#_OCTETSTRING_ROOT
2009-09-22 13:25:26,310 DEBUG - VDELogger.java - setting backend com.octetstring.vde.backend.BackendRoot@676437
2009-09-22 13:25:26,310 DEBUG - VDELogger.java - runGet has all attribs : false
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Selected Default View for IP/DN: 127.0.0.1/cn=Admin
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=CN=Users,DC=pluto,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=Users,OU=pippo,DC=pluto,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=BaseOU,DC=sysfil,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=CN=Users,DC=sysfil,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=ExternalUsers,OU=fiam,DC=paperino,DC=pippo,DC=com
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=dc=oracle,dc=com
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Routing selected by filter for: Adapter#dc=oracle,dc=com
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=cn=Schema
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Checking Class: top
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Checking Class: domain
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Failure On : dc=oracle,dc=com
2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Failure On : objectclass: top
objectclass: domain
dc: oracle
2009-09-22 13:25:30,779 ERROR - VDELogger.java - Failure On : dc=oracle,dc=com
2009-09-22 13:25:30,779 ERROR - VDELogger.java - Failure On : duplicate value
Can you help me?
best regardes
AlessandroHi Saggu,
You are absolutely right. It's working fine now. I need to know one more like performance.
If i have three adapters in the adapter configuration, and 21 adapters in the adapter configuration.
Which kind of configuration will help to improve the performance?
Two Scenarios:
1. Three Adapters
2. 21 Adapters.
Explanation:
1. Adapters are mapped at Root DN level.
Example: dc=company,dc=groups,dc=com
2. Adapters are mapped to interior level.
Example: ou=Firstgroup,o=initialemp,dc=company,dc=group,dc=com
Based on the above two scenarios which mapping is the best regarding the performance level.
Can you please suggest me on this performance issue.
Thanks in Advance,
Sandeep D -
How to create data stores in ODI ?
Hi all,
I am new to this ODI part.Can anyone please help me as how to create data stores in ODI.
A prompt reply will be highly aprreciated.
Thanks
Saurabh.What do you mean by "create datastores"?
If you mean you want to reverse engineer existing tables from a database, then the phrase used in the ODI docs is "reverse enginnering". If you mean to create new tables in a database, then:
1) ODI is not meant to be a database design tool.
2) Using the "diagrams" node under a data model, you are able to use the "Common Format Designer" (CFD) tool to design and create the structure. The CFD tool is a simple ER-digram tool, but importantantly, if you drag structures in from one model to another, it remembers where it came from, allowing automatic generation of interfaces, and it automatically translates the data types. -
How to create local virtual web host ex. myserver.local?
Hi
I'm sorry but following steps in Yosemite Server help led me to nowhere.
Could you please explain how to create local virtual web host ex. myserver.local?
ThanksHi Sergey,
I assume that you mean virtual desktop storage location, which I don’t think that we can change this setting for an existing collection.
You can create a new collection, during the creation process, you will be able to select a different storage location for new VMs.
More information for you:
Single Image Management for Virtual Desktop Collections in Windows Server 2012
http://blogs.msdn.com/b/rds/archive/2012/10/29/single-image-management-for-virtual-desktop-collections-in-windows-server-2012.aspx
Geek of All Trades: VM-Hosted RemoteApps - New Best Practice for Virtual Desktops?
https://technet.microsoft.com/en-us/magazine/jj554307.aspx
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Hi,
The requirement is to create ""Document Sets in Bulk" using JSOM. I am using the following posts:-
http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1904cddb-850c-4425-8205-998bfaad07d7/create-document-set-using-ecma-script
But, when I am executing the code, I am getting error "Cannot read property 'DocumentSet' of undefined "..Please find
below my code. I am using Content editor web part and attached my JS file with that :-
<div>
<label>Enter the DocumentSet Name <input type="text" id="txtGetDocumentSetName" name="DocumentSetname"/> </label> </br>
<input type="button" id="btncreate" name="bcreateDocumentSet" value="Create Document Set" onclick="javascript:CreateDocumentSet()"/>
</div>
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"> </script>
<script type="text/javascript">
SP.SOD.executeFunc('sp.js','SP.ClientContext','SP.DocumentSet','SP.DocumentManagement.js',CreateDocumentSet);
// This function is called on click of the “Create Document Set” button.
var ctx;
var parentFolder;
var newDocSetName;
var docsetContentType;
function CreateDocumentSet() {
alert("In ClientContext");
var ctx = SP.ClientContext.get_current();
newDocSetName = $('#txtGetDocumentSetName').val();
var docSetContentTypeID = "0x0120D520";
alert("docSetContentTypeID:=" + docSetContentTypeID);
var web = ctx.get_web();
var list = web.get_lists().getByTitle('Current Documents');
ctx.load(list);
alert("List Loaded !!");
parentFolder = list.get_rootFolder();
ctx.load(parentFolder);
docsetContentType = web.get_contentTypes().getById(docSetContentTypeID);
ctx.load(docsetContentType);
alert("docsetContentType Loaded !!");
ctx.executeQueryAsync(onRequestSuccess, onRequestFail);
function onRequestSuccess() {
alert("In Success");
SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
alert('Document Set creation successful');
// This function runs if the executeQueryAsync call fails.
function onRequestFail(sender, args) {
alert("Document Set creation failed" + + args.get_message());
Please help !!
Vipul JainHello,
I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
Value cannot be null.Parameter name: context"...
Also, I tried removing SP.SOD.executeFunc
from my code, but no success :(
Kindly suggest !!!
Vipul Jain -
How to create a photo album in PPT- I use MS'2012 for MAC
how to create a photo album in PPT- I use MS'2012 for MAC
Hello pager7243,
Thank you for using Apple Support Communities.
The following explains how to set up an album on your iPhone with iOS 8.
iPhone User Guide For iOS 8 Software
Look at Chapter 11: Photos, Organize your photos and videos
Regards,
Jeff D. -
How to Create JAVA proxies in PI 7.1 using NWDS
Hi PI SDNers,
Please guide me on "how to create JAVA proxy in PI 7.1 using NWDS". I used to create java proxies from Integration build tools->generate Java Proxy in Pi 7.0/XI3.0; Please advise me.
Thanks in Advance...
Ravi KanakamCheck if these threads help you:
Java Proxy with NWDS 7.1
Re: Java Proxy & NWDS
Regards,
Abhishek. -
How to create the log file in remote system using log4j.
Hi,
How to create the log file in remote system using log4j. please give me a sample code or related links.The below example i used for create the log file in remote system but it return the below exception.Is there any authandication parameter for accessing the remote path? Please help.
public class Logging
Logger log=null;
FileAppender fileapp=null;
public Logging(String classname)
try
log = Logger.getLogger(classname);
String path=" [\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt|file://\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt]";
fileapp = new FileAppender(new PatternLayout("%r [%t] %-5p %c %x - %m%n"),path, true);
log.addAppender(fileapp);
log.info("Logger initilized");
}catch(Exception ex)
ex.printStackTrace();
java.io.FileNotFoundException: \\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt (The network path was not found)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
at org.apache.log4j.FileAppender.<init>(FileAppender.java:109)
at annwyn.logger.BioCapLogger.<init>(Logging.java:23)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please help.
Thanks in advance.
Saravanan.KSorry path is missing for the above request.
path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
please help.
Saravanan.K -
How to create interactive map in SAP Visual Business using SAP UI5 SDK
Hi,
Please tell me,
How to create interactive map in SAP Visual Business using SAP UI5 SDK.
Is it possible to create interactive map using VB Control in SAP UI5 SDK..?
if possible please any one let me know.Hi folks, one question:
We have our development close moved and now it is earlier than originally planned.
That means that we maybe can't finish our convenient API and you have to wait till we will release it - early 2015 is planned.
But there is another option:
Currently we have a API based on json. The developer has to create json and to transfer it to the Visual Business control.
This interface is more used as a low level API and we are developing on top the more convenient one. So all the features are the same.
It will stay stable & compatible in the future and you can build on it.
Do you want to use this interface?
Then I will publish the documentation.
Let me know.
Thanks -
How to Create an Input Schedule Comparison with Data Using EVDRE
Hello,
I try implement the scenario described in "How to Create an Input Schedule Comparison with Data Using EVDRE".
Once I am using the "Insert Function" from the panel and selecting the EVTIM function Excel crashes (see page 8 How to paper).
Systems:
BPC 7.0 NW SP02
Office 2007
BPCADminClient and BPCOfficeClient up to date
Have anyone a solution?
Thanks
OktayHi Oktay -
This function works in my BPC70NW SP02 system. Your issue might be that you are trying to access a TIME member that does not exist. Please make sure the offset value is a valid dimension member.
I can confirm that EVTIM does allow the offset for base members (such as 2009.MAY) as well as parent nodes (such as 2009.Q1 or 2008.TOTAL)... BUT...the offset result of the EVTIM function needs to be a valid dimension member!
Regards,
Sheldon -
Does anyone know how to get an application you had once without using App Store?
Does anyone know how to get an application you had once without using App Store?
Because I'm underage and I couldn't get it back.
I just want it back, I'm not going to use any money in App Store...When you say you "had it once", how did you get it then? The App Store has only been around for a few years, so there are lots of apps out there that you would once get from the developer, but now they're only available on the App store. Which app(s) are you referring to?
-
How to create sharepoint Group with read only permissions using powershell for entire site ?
How to create sharepoint Group with read only permissions using powershell for entire site (including subsites and top level site)
Hi
using (SPSite site = new SPSite(url))
using (SPWeb web = site.OpenWeb())
SPUserCollection users = Web.AllUsers;
SPUser owner = users[string.Format("{0}{1}", "Domain", "Owner Username")];
SPMember member = users[string.Format("{0}{1}", "Domain", "Default Member Username")];
SPGroupCollection groups = Web.SiteGroups;
string GroupName = “Super Exclusive”;//your group name
string GroupDescription = “Super exclusive group description.”;
groups.Add(GroupName, owner, member, GroupDescription);
SPGroup NewSPGroup = groups[GroupName];
SPRoleDefinition role = Web.RoleDefinitions["Read"];
SPRoleAssignment roleAssignment = new SPRoleAssignment(NewSPGroup);
roleAssignment.RoleDefinitionBindings.Add(role);
Web.RoleAssignments.Add(roleAssignment);
Web.Update();
Please 'propose
as answer' if it helped you, also 'vote
helpful' if you like this reply. -
How to create volume slider for flash cs 5 using action script 2.0?
how to create volume slider for flash cs 5 using action script 2.0?the output should like if user want to hear sound in slow pitch,medium pitch or high pitch(slow to high pitch anything).i have attach this sound to button with using this code:
stop();
mySoundBtn.onRelease = function () {
mySoundC = new Sound(this);
mySoundC.attachSound("mySoundClip");
mySoundC.start(0, 10); //10 represents the number of loops
gotoAndPlay(2);
This sound plays till 3-4 scene ahead.
Can anyone help me?Hey thnx Ned.
this sites are really helpful.but,i have used sound through button.so how it is possible to attavh the link with slider.i have created slider also.
Below is my slider code for sound.
onClipEvent (load) {
mySound1 = new Sound();
mySound1.loadSound((myScale)+"/"+(myTanpura)+"/"+(myTanpuraSwar)+"/"+(myTanpuraTempo)+".w av", true);
mySound1.onSoundComplete = function() {
mySound1.start();
mySound1.start(0.058,999);
onClipEvent (enterFrame) {
downloaded = mySound1.getBytesLoaded();
total = mySound1.getBytesTotal();
if (downloaded != total) {
_root.dl = "You have to buy this software...";
} else {
complete = 1;
_root.dl = "";
mySound1.setVolume(ratio * 2);
This code is working for slider.I mean it scrolls the slider.but it dosent make any effect to sound.
Below is my button code.
stop();
mySoundBtn4.onRelease = function () {
mySoundC = new Sound(this);
mySoundC.attachSound("mySoundClip4");
mySoundC.start(0, 300); //10 represents the number of loops
gotoAndPlay("play1");
this is on button's frame.not exactly on button.
Button and Slider both are on diffrent scene.
Can you plese help me out? -
How to create a follow up page in scripts using Duplex and Tumble Duplex
How to create a follow up page in scripts using Duplex and Tumble Duplex in print mode of scripts ?
Hi ,
Set the next page property as duplex , and change the print property back to back
Maybe you are looking for
-
SSO from non-SAP (Webspher AS) to SAP (EP)
Hi, We need to connect in SSO an WebSphere Application Server with SAP EP. In practice our users will log on Corporate Portal, go to a section in which there will be a link to SAP EP (in particular access to the functionality ESS and MSS). How do I i
-
Macbook pro 15 inch (2010 late) crashing
Hello, i have been having many problems with my macbook pro in recent months. i got it repaired by apple technician becouse i have my applecare warranty running. now it will be the 3 time they change the mother board and graphic card. all of those r
-
How do I get the correct icons for Favorites?
How do I get the correct icons for Favorites on my iPad? I am using iOS 7. The icons show up correctly in my bookmarks in Safari on my iMac OS X (10.8.5).
-
Find... has Icon Scaling bar, but not the regular Finder window?
Hi, Why is it that the Find... window in Finder has a bar that enables you to scale the size of Icons, but the regular Finder window doesn't? Also, why is the typical Icon Size in Icon View limited to 128 x 128 pixels? When you're in one of the Find.
-
Cannot edit my existing contacts on my BB9630
Hello every one, I open up my contacts, go to any of my existing contacts on my phone, menu key, press edit and nothing happens. It just started behaving this way. The last app I installed before I noticed this issue was "contacts to excel" from the